... | in user_profile.naml |
178 179 180 181 182 183 184 185
|
<macro name="registration_label" requires="user">
<div style="margin-top:.4em">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then><strong><t>Registered</t></strong>: <n.registration_date Binary Namespace: UserNamespace
Parameters:
do
♦ ♦ Macro Requires: date
♦ ♦
<else><strong><t>Unregistered User</t></strong></else>
</n.if.is_registered>
</div>
</macro>
|