summaryrefslogtreecommitdiffstats
path: root/extensions/UserProfile/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-10 05:30:31 +0100
committerByron Jones <glob@mozilla.com>2015-03-10 05:30:31 +0100
commit9250c96075fda4a6a11b0f09e42423c650debcec (patch)
tree16a5ef80fe6baf57c5ef5300465d9ab8eef3d39e /extensions/UserProfile/template/en
parent326b00e0e938c1acbf9be1ad0793d2ac87d743f9 (diff)
downloadbugzilla-9250c96075fda4a6a11b0f09e42423c650debcec.tar.gz
bugzilla-9250c96075fda4a6a11b0f09e42423c650debcec.tar.xz
Bug 1137080: add an indicator to the user profile page if the user has canconfirm or editbugs rights
Diffstat (limited to 'extensions/UserProfile/template/en')
-rw-r--r--extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl12
1 files changed, 12 insertions, 0 deletions
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 @@
</td>
</tr>
+[% IF target.in_group("canconfirm") %]
+ <tr>
+ <th>Permissions</th>
+ <td colspan="2">
+ Can confirm [% terms.bugs %]
+ [% IF target.in_group("editbugs") ~%]
+ , can edit any [% terms.bug %]
+ [% END %]
+ </td>
+ </tr>
+[% END %]
+
<tr>
<td>&nbsp;</td>
</tr>