From 97933de13dd52c831592e012debd7d5de0c91a8c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Mon, 11 Nov 2002 06:51:45 +0000 Subject: Fix for bug 178984: disables flag requestee field using JavaScript unless flag is set to "requested". r=justdave a=justdave --- template/en/default/flag/list.html.tmpl | 54 +++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 9 deletions(-) (limited to 'template') diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 1f9db5ceb..c3d760eed 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -19,6 +19,34 @@ # Contributor(s): Myk Melez #%] + + [% FOREACH type = flag_types %] @@ -31,7 +59,7 @@ [% type.name FILTER html %] @@ -57,7 +89,7 @@ [% END %] @@ -84,7 +117,7 @@ -- cgit v1.2.1
- [% IF type.is_active %] @@ -45,9 +73,13 @@ - [% IF flag.status == "?" && flag.requestee %]([% flag.requestee.nick FILTER html %]) + [% IF flag.status == "?" %] + [% IF flag.requestee %]([% flag.requestee.nick FILTER html %])[% END %] [% ELSIF type.is_requestable && type.is_active %] - () + + () + [% END %]
  [% type.name %] - @@ -67,9 +99,10 @@ - [% IF type.is_requestable && type.is_requesteeble %] - () - [% END %] + + () +
addl. [% type.name %] - @@ -95,7 +128,10 @@ [% IF type.is_requestable && type.is_requesteeble %] - () + + () + [% END %]