From 9250c96075fda4a6a11b0f09e42423c650debcec Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 10 Mar 2015 12:30:31 +0800 Subject: Bug 1137080: add an indicator to the user profile page if the user has canconfirm or editbugs rights --- .../template/en/default/pages/user_profile.html.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'extensions/UserProfile') diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl index 810a974ec..d690e40df 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -100,6 +100,18 @@ +[% IF target.in_group("canconfirm") %] + + Permissions + + Can confirm [% terms.bugs %] + [% IF target.in_group("editbugs") ~%] + , can edit any [% terms.bug %] + [% END %] + + +[% END %] +   -- cgit v1.2.3-24-g4f1b