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.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl
index df902b451..a6be5eee9 100644
--- a/template/en/default/global/user.html.tmpl
+++ b/template/en/default/global/user.html.tmpl
@@ -27,6 +27,9 @@
[% FILTER collapse %]
[% IF user.id %]
<a class="email" href="mailto:[% who.email FILTER html %]"
+ [% IF user.in_group('editusers') || user.bless_groups.size > 0 %]
+ onclick="show_admin_username(event, [% who.id FILTER none %], '[% who.email FILTER js %]'); return false"
+ [% END %]
title="[% who.identity FILTER html %]">
[%- END -%]
[% IF who.name %]