From 04843101a25b34f2d7aee8863051cba7e3f3049c Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" <> Date: Tue, 19 Dec 2006 12:01:32 +0000 Subject: Bug 335389 - "flags should use '', '?', '+', '-' as option order" [p=reed r=LpSolit a=myk] --- template/en/default/flag/list.html.tmpl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'template') diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 42bdb9d0b..9f89faacb 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -111,15 +111,15 @@ [% IF user.can_request_flag(type) %] [% END %] + [% IF (type.is_requestable && user.can_request_flag(type)) || flag.status == "?" %] + + [% END %] [% IF user.can_set_flag(type) || flag.status == "+" %] [% END %] [% IF user.can_set_flag(type) || flag.status == "-" %] [% END %] - [% IF (type.is_requestable && user.can_request_flag(type)) || flag.status == "?" %] - - [% END %] [% ELSE %] [% END %] @@ -158,13 +158,13 @@ [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] onchange="toggleRequesteeField(this);"> + [% IF type.is_requestable && user.can_request_flag(type) %] + + [% END %] [% IF user.can_set_flag(type) %] [% END %] - [% IF type.is_requestable && user.can_request_flag(type) %] - - [% END %] [% IF any_flags_requesteeble %] @@ -184,7 +184,7 @@ [%# Step 2: Display flag type again (if type is multiplicable). %] [% FOREACH type = flag_types %] - [% NEXT UNLESS type.flags && type.flags.size > 0 && type.is_multiplicable && type.is_active %] + [% NEXT UNLESS type.is_multiplicable && type.is_active %] [% IF !separator_displayed %]