From: reed%reedloden.com <> Date: Tue, 19 Dec 2006 12:01:32 +0000 (+0000) Subject: Bug 335389 - "flags should use '', '?', '+', '-' as option order" [p=reed r=LpSolit... X-Git-Tag: bugzilla-2.23.4~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04843101a25b34f2d7aee8863051cba7e3f3049c;p=thirdparty%2Fbugzilla.git Bug 335389 - "flags should use '', '?', '+', '-' as option order" [p=reed r=LpSolit a=myk] --- diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 42bdb9d0b9..9f89faacba 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 %]
[% separator_displayed = 1 %] @@ -201,13 +201,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 %]