summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/user.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/user.html.tmpl')
-rw-r--r--template/en/default/global/user.html.tmpl17
1 files changed, 12 insertions, 5 deletions
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl
index df902b451..897cbbad6 100644
--- a/template/en/default/global/user.html.tmpl
+++ b/template/en/default/global/user.html.tmpl
@@ -27,12 +27,19 @@
[% FILTER collapse %]
[% IF user.id %]
<a class="email" href="mailto:[% who.email FILTER html %]"
- title="[% who.identity FILTER html %]">
+ onclick="return show_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]',
+ [% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %]);"
+ title="[% who.identity FILTER html %]">
[%- END -%]
- [% IF who.name %]
- <span class="fn">[% who.name FILTER html %]</span>
- [% ELSE %]
- [% who.login FILTER email FILTER html %]
+ [% IF who %]
+ [% IF who.name %]
+ <span class="fn">[% who.name FILTER html %]</span>
+ [% ELSE %]
+ <span class="ln">[% who.login FILTER email FILTER html %]</span>
+ [% END %]
+ [% IF user.id %]
+ <span class="arrow_container"><span class="arrow_down"></span></span>
+ [% END %]
[% END %]
[% '</a>' IF user.id %]
[% END %]