... | in add_groups_custom.naml |
1 2 3 4 5 6 7 8 9 10 11 12
|
<macro name="add_groups_custom" requires="user">
<!-- List the groups of the user-->
<n.set_local_user.this_user />
<n.if.visitor.is_site_admin>
<then>
<div style="margin-top:.5em">
<img src="/images/user_group.png" align="absmiddle" width="18" height="16"/>
<a href="[n.local_user.change_user_groups_path/]"><t>Add / Remove Groups</t></a>
</div>
</then>
</n.if.visitor.is_site_admin>
</macro>
|
Free forum by Nabble | Naml |