From d3f1b1a3ecc5f068179d5fba70e86b345c1aec63 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 25 Jan 2009 15:34:29 +0000 Subject: Bug 471461: Incorrect text displayed about groups when a bug is in a product which has only one group defined, with settings Mandatory/Mandatory - Patch by Frédéric Buclin r=wicked a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/edit.html.tmpl | 76 ++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 35 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 82f24c06d..eb90028ab 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -703,22 +703,25 @@ [% BLOCK section_restrict_visibility %] [% RETURN UNLESS bug.groups.size %] - - - -
- - - [% inallgroups = 1 %] - [% inagroup = 0 %] - [% FOREACH group = bug.groups %] - [% SET inallgroups = 0 IF NOT group.ingroup %] - [% SET inagroup = 1 IF group.ison %] - [% NEXT IF group.mandatory %] + [% inallgroups = 1 %] + [% inagroup = 0 %] + [% emitted_description = 0 %] - [% IF NOT emitted_description %] - [% emitted_description = 1 %] + [% FOREACH group = bug.groups %] + [% SET inallgroups = 0 IF NOT group.ingroup %] + [% SET inagroup = 1 IF group.ison %] + + [% NEXT IF group.mandatory %] + + [% IF NOT emitted_description %] + [% emitted_description = 1 %] + + + + + [% "
+ +
Only users in all of the selected groups can view this [% terms.bug %]:
@@ -726,30 +729,33 @@ (Unchecking all boxes makes this a more public [% terms.bug %].)
- [% END %] + [% END %] - [% IF group.ingroup %] - - [% END %] - - -
- [% END %] + [% IF group.ingroup %] + + [% END %] + + +
+ [% END %] - [% IF NOT inallgroups %] - - Only members of a group can change the visibility of [% terms.abug %] for - that group. - -
- [% END %] + [% IF emitted_description %] + [% IF NOT inallgroups %] + Only members of a group can change the visibility of [% terms.abug %] for that group. +
+ [% END %]
" IF NOT inagroup %] + [% END %] - [% IF inagroup %] + [% IF inagroup %] + [% IF NOT emitted_description %] + [% emitted_description = 1 %] + + [% END %] - [% END %] -
@@ -793,8 +799,8 @@
+
+ [% END %] [% END %] [%############################################################################%] -- cgit v1.2.3-24-g4f1b