diff --git a/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl index 1cdf5e7988a..3516500f548 100644 --- a/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl @@ -650,7 +650,7 @@ [%############################################################################%] [% BLOCK section_restrict_visibility %] - [% IF bug.groups.size > 0 %] + [% RETURN UNLESS bug.groups.size %]
|
@@ -662,19 +662,20 @@
[% FOREACH group = bug.groups %]
[% SET inallgroups = 0 IF NOT group.ingroup %]
[% SET inagroup = 1 IF group.ison %]
-
- [% IF NOT group.mandatory %]
- [% IF NOT emitted_description %]
- [% emitted_description = 1 %]
-
- Only users in all of the selected groups can view this [% terms.bug %]:
-
- [% END %]
-
+
+ [% NEXT IF group.mandatory %]
+
+ [% IF NOT emitted_description %]
+ [% emitted_description = 1 %]
+ - - (Unchecking all boxes makes this a more public [% terms.bug %].) - -
+ Only users in all of the selected groups can view this [% terms.bug %]:
+
+ [% END %]
+
[% IF group.ingroup %]
[% END %]
@@ -684,18 +685,18 @@
[% " disabled=\"disabled\"" IF NOT group.ingroup %]>
+ + (Unchecking all boxes makes this a more public [% terms.bug %].) + + - [% END %] [% END %] - + [% IF NOT inallgroups %] Only members of a group can change the visibility of [% terms.abug %] for that group. - + [% END %] |
|
@@ -716,19 +717,25 @@
-
+ [% user_can_edit_accessible = bug.check_can_change_field("reporter_accessible", 0, 1) %]
+ [% IF user_can_edit_accessible %]
+
+ [% END %]
+ [% " disabled=\"disabled\"" UNLESS user_can_edit_accessible %]>
-
+ [% user_can_edit_accessible = bug.check_can_change_field("cclist_accessible", 0, 1) %]
+ [% IF user_can_edit_accessible %]
+
+ [% END %]
+ [% " disabled=\"disabled\"" UNLESS user_can_edit_accessible %]>
|