From: myk%mozilla.org <> Date: Mon, 11 Nov 2002 06:51:45 +0000 (+0000) Subject: Fix for bug 178984: disables flag requestee field using JavaScript unless flag is... X-Git-Tag: bugzilla-2.17.2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97933de13dd52c831592e012debd7d5de0c91a8c;p=thirdparty%2Fbugzilla.git Fix for bug 178984: disables flag requestee field using JavaScript unless flag is set to "requested". r=justdave a=justdave --- diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 1f9db5ceb9..c3d760eed9 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 @@
- [% 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 %]