summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2018-04-10 05:17:44 +0200
committerGitHub <noreply@github.com>2018-04-10 05:17:44 +0200
commit58c4f6814461ee4e35f0cffbdd63d948df940d35 (patch)
tree012231025cb598c791ba9ddfa6009ac584b668ec /extensions/BugModal/template
parent694df9c1c6ec244c416c2d8e85657651b6a28dab (diff)
downloadbugzilla-58c4f6814461ee4e35f0cffbdd63d948df940d35.tar.gz
bugzilla-58c4f6814461ee4e35f0cffbdd63d948df940d35.tar.xz
Bug 1328900 - Create new group called 'disableusers' that can only edit the bugmail and disabledtext fields of a user
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/user.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl
index cd05d053f..9eda7b936 100644
--- a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl
@@ -46,7 +46,7 @@ END;
href="mailto:[% u.email FILTER html %]"
data-user-email="[% u.email FILTER html %]"
data-user-id="[% u.id FILTER html %]"
- data-show-edit="[% user.in_group('editusers') || user.bless_groups.size > 0 ? 1 : 0 %]"
+ data-show-edit="[% user.in_group('editusers') || user.in_group('disableusers') || user.bless_groups.size > 0 ? 1 : 0 %]"
title="[% u.identity FILTER html %]"
[% ELSE %]
href="user_profile?user_id=[% u.id FILTER none %]"