From 41513b56e105085d701591a7de9a13cb2310e02f Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 17 May 2012 15:06:42 +0800 Subject: Bug 737405: add user-menu to all logged in users --- template/en/default/global/user.html.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/user.html.tmpl') 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 %] 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 -%] -- cgit v1.2.3-24-g4f1b