user_link

NAML documentation   Watch a video
   Usages of this macro
... in user_link.naml
1
2
3
4
5
6
<override_macro name="user_link" requires="user" parameters="title, class">
    <n.comment
Macro
Parameters: text
.>Added email address to display</n.comment.>
    <a href="[n.url
Macro
Requires: user
Parameters: filter, index_record
/]" title="[n.title/]" class="[n.class/]"><n.name
Binary
Namespace: UserNamespace
Parameters: truncate
/></a>
    <t>[</t>
    <a href="[n.send_email_path
Macro
Requires: user
/]"><n.user_email
Binary
Namespace: UserNamespace
/></a> <t>]</t>
</override_macro>
Overrides default macro
... in utilities.naml
436
437
438
<macro name="user_link" requires="user" parameters="title, class">
    <a href="[n.path/]" title="[n.title/]" class="[n.class/]"><n.name/></a>
</macro>