summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-08 09:06:28 +0200
committerByron Jones <bjones@mozilla.com>2013-05-08 09:06:28 +0200
commit96103f504c088d0eb0c4950c6dcfeb3fb7934203 (patch)
treef06f114f1daf1a5c7e42f4ccd7cacb6c4753c33c /extensions/BMO/template/en
parentd58ef6b7137187ebc3e3972167821525bf784a78 (diff)
downloadbugzilla-96103f504c088d0eb0c4950c6dcfeb3fb7934203.tar.gz
bugzilla-96103f504c088d0eb0c4950c6dcfeb3fb7934203.tar.xz
Bug 869261: In the bug entry form the default security group should be displayed to let user know which group will be set
Diffstat (limited to 'extensions/BMO/template/en')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl18
1 files changed, 13 insertions, 5 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
index 3fdec2990..6f88888f0 100644
--- a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
@@ -1,11 +1,19 @@
<tr>
<th>Security:</th>
<td colspan="3">
- [% PROCESS group_checkbox
- name = product.default_security_group
- desc = "Many users could be harmed by this security problem: " _
- "it should be kept hidden from the public until it is resolved."
- %]
+ [% IF user.in_group(product.default_security_group) %]
+ [% PROCESS group_checkbox
+ name = product.default_security_group
+ desc = "Restrict access to this " _ terms.bug _ " to members of " _
+ "the \"" _ product.default_security_group_obj.description _ "\" group."
+ %]
+ [% ELSE %]
+ [% PROCESS group_checkbox
+ name = product.default_security_group
+ desc = "Many users could be harmed by this security problem: " _
+ "it should be kept hidden from the public until it is resolved."
+ %]
+ [% END %]
[% IF user.in_group('partner-confidential-visible') %]
[% PROCESS group_checkbox
name = 'partner-confidential'