summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-05-17 09:06:42 +0200
committerByron Jones <bjones@mozilla.com>2012-05-17 09:06:42 +0200
commit41513b56e105085d701591a7de9a13cb2310e02f (patch)
tree4e227046a1914ce95e198a570b05e770408bbbc8 /template/en/default
parent9bc1a835aff5b65e9f827d90b6f9a0db12c16fe9 (diff)
downloadbugzilla-41513b56e105085d701591a7de9a13cb2310e02f.tar.gz
bugzilla-41513b56e105085d701591a7de9a13cb2310e02f.tar.xz
Bug 737405: add user-menu to all logged in users
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user.html.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl
index 50014bb29..433a9803d 100644
--- a/template/en/default/global/user.html.tmpl
+++ b/template/en/default/global/user.html.tmpl
@@ -27,8 +27,10 @@
[% FILTER collapse %]
[% IF user.id %]
<a class="email" href="mailto:[% who.email FILTER html %]"
- [% IF who.id && (user.in_group('editusers') || user.bless_groups.size > 0) %]
- onclick="show_admin_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]'); return false"
+ [% IF who.id && user.in_group('canconfirm') %]
+ onclick="show_admin_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]',
+ [% IF (user.in_group('editusers') || user.bless_groups.size > 0) %]true[% ELSE %]false[% END %]);
+ return false"
[% END %]
title="[% who.identity FILTER html %]">
[%- END -%]