diff options
Diffstat (limited to 'template/en/default/global/user.html.tmpl')
-rw-r--r-- | template/en/default/global/user.html.tmpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl index 4f9b8a41b..2c12fa6dd 100644 --- a/template/en/default/global/user.html.tmpl +++ b/template/en/default/global/user.html.tmpl @@ -27,17 +27,18 @@ [% FILTER collapse %] [% IF user.id %] <a class="email" href="mailto:[% who.email FILTER html %]" - [% IF who.id && user.in_group('canconfirm') %] onclick="return show_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]', - [% IF (user.in_group('editusers') || user.bless_groups.size > 0) %]true[% ELSE %]false[% END %]);" - [% END %] - title="[% who.identity FILTER html %]"> + [% 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 %] + <span class="ln">[% who.login FILTER email FILTER html %]</span> + [% END %] + [% IF user.id %] + <span class="arrow_container"><span class="arrow_down"></span></span> + </a> [% END %] - [% '</a>' IF user.id %] [% END %] </span> |