From be1bdf3972e95f617138f631e466875e7bd0b34c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Mon, 11 Nov 2002 20:36:22 +0000 Subject: Fix for bug 179334: updates the setter consistently. also fixes numerous other bugs in the RT code. r=bbaetz a=myk --- template/en/default/flag/list.html.tmpl | 76 ++++++++++++++++++++++----------- 1 file changed, 52 insertions(+), 24 deletions(-) (limited to 'template') diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index c3d760eed..67cb0b815 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -20,33 +20,53 @@ #%] +[%# We list flags by looping twice over the flag types relevant for the bug. + # In the first loop, we display existing flags and then, for active types, + # we display UI for adding new flags. In the second loop, we display UI + # for adding additional new flags for those types for which a flag already + # exists but which are multiplicable (can have multiple flags of the type + # on a single bug/attachment). + #%] + [% FOREACH type = flag_types %] @@ -59,7 +79,8 @@ [% type.name FILTER html %] @@ -89,7 +113,8 @@ @@ -117,7 +143,8 @@ -- cgit v1.2.3-24-g4f1b
- [% IF type.is_active %] @@ -73,12 +94,15 @@ - [% IF flag.status == "?" %] - [% IF flag.requestee %]([% flag.requestee.nick FILTER html %])[% END %] - [% ELSIF type.is_requestable && type.is_active %] + [% IF type.is_active && type.is_requestable %] - () + () [% END %]   [% type.name %] - @@ -100,8 +125,9 @@ - () + ()
addl. [% type.name %] - @@ -129,8 +156,9 @@ [% IF type.is_requestable && type.is_requesteeble %] - () + () [% END %]