.id
4488
.gutitle
bn_facts_profile_snapshot
.title
bn_facts_profile_snapshot
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<tag.bn_facts_def>
<var _Def = return>

<var C = GLOBAL.Def.Style.color>

<var set = caller.set>
<var D = caller.D>
<var Txt = caller.Txt>
<var Soc = caller.Soc>


<var Facts = StructNew()>
<try>
<var Facts = DeSerializeJSON(set.facts)>
<if NOT isStruct(Facts)>
<var Facts = StructNew()>
</if>
<catch></catch>
</try>





<div id="bn_facts_profile_snapshot">
<var _shown = 0>
<var _shown_max = 2>
<var _passed_shown_max = 0>
<loop from="1" to="#arrayLen(_Def)#" index="_pos">

<if _shown EQ _shown_max>
<var _passed_shown_max = 1>
<break>
</if>

<var Model = _Def[_pos]>

<if isDefined("Facts.#Model.gutitle#") AND Facts[Model.gutitle] NEQ "">

<div class="profile_unit">
<div class="profile_unit_label">
#Model.label#:
</div>
<div class="profile_unit_value">
<div>
<span class="inputesque">#escapeMarkup(Facts[Model.gutitle])#</span>
</div>
<var _shown = _shown + 1>
</div>
</div>

</if>

</loop>


<if _passed_shown_max EQ 1>
<!--- show "more" link --->
<div class="profile_unit" style="margin-bottom:0.5em;">
<div class="profile_unit_label">
&nbsp;
</div>
<div class="profile_unit_value">
<div>
<span class="inputesque"><a href="http://#this_domain#/#get.s1#/facts">More...</a></span>
</div>
</div>
</div>
</if>

</div>


<if _shown EQ 0>
<!--- show "none" text --->
<if set.id EQ client_id>
<div style="margin-right:3em;">
Facts are things like your favorite food, hair color or
lifelong goals.
</div>
<else>
(none)
</if>
</if>



<if set.id EQ client_id>
<!--- edit link --->
<div align="right"><big>
<a href="http://#this_domain#/#get.s1#/facts/edit"><tag.fico i="pencil" linkback="off" style="height:0.88em;"></a>
<a href="http://#this_domain#/#get.s1#/facts/edit">edit</a>
</big></div>
</if>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0