... | in extra_fields.naml |
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<macro name='list_extra_fields' requires='user'>
<n.if.this_user.has_property name="sex">
<then>
<strong>Sex: </strong><n.this_user.get_property name="sex"/><br/>
</then>
</n.if.this_user.has_property>
<n.if.this_user.has_property name="bday">
<then>
<n.if.not.is_empty.trim.this_user.get_property name="bday">
<then>
<strong>Age: </strong><span class='age'></span><br/>
<n.age_script/>
</then>
</n.if.not.is_empty.trim.this_user.get_property>
</then>
</n.if.this_user.has_property>
<n.if.this_user.has_property name="location">
<then>
<n.if.not.is_empty.trim.this_user.get_property name="location">
<then>
<strong>Location: </strong><n.this_user.get_property name="location"/>
</then>
</n.if.not.is_empty.trim.this_user.get_property>
</then>
</n.if.this_user.has_property>
</macro>
|
Powered by Nabble | NAML |