Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
90fcd267
Commit
90fcd267
authored
Nov 09, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 179205: Makes flag options be correct in all situations.
r=justdave a=justdave
parent
9e98f299
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
list.html.tmpl
template/en/default/flag/list.html.tmpl
+12
-7
No files found.
template/en/default/flag/list.html.tmpl
View file @
90fcd267
...
...
@@ -33,21 +33,26 @@
<td>
<select name="flag-[% flag.id %]">
<option value="X"></option>
[% IF
flag
.is_active %]
[% IF
type
.is_active %]
<option value="+" [% "selected" IF flag.status == "+" %]>+</option>
<option value="-" [% "selected" IF flag.status == "-" %]>-</option>
<option value="?" [% "selected" IF flag.status == "?" %]>?</option>
[% IF type.is_requestable %]
<option value="?" [% "selected" IF flag.status == "?" %]>?</option>
[% END %]
[% ELSE %]
<option value="[% flag.status %]" selected>[% flag.status %]</option>
[% END %]
</select>
</td>
<td>
[% IF flag.status == "?" && flag.requestee %]([% flag.requestee.nick FILTER html %])[% END %]
[% IF flag.status == "?" && flag.requestee %]([% flag.requestee.nick FILTER html %])
[% ELSIF type.is_requestable && type.is_active %]
<span style="white-space: nowrap;">(<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">)</span>
[% END %]
</td>
</tr>
[% END %]
[% IF
!type.flags || type.flags.size == 0
%]
[% IF
(!type.flags || type.flags.size == 0) && type.is_active
%]
<tr>
<td> </td>
<td>[% type.name %]</td>
...
...
@@ -63,7 +68,7 @@
</td>
<td>
[% IF type.is_requestable && type.is_requesteeble %]
(<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">)
<span style="white-space: nowrap;">(<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">)</span>
[% END %]
</td>
</tr>
...
...
@@ -71,7 +76,7 @@
[% END %]
[% FOREACH type = flag_types %]
[% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable %]
[% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable
&& type.is_active
%]
[% IF !separator_displayed %]
<tr><td colspan="3"><hr></td></tr>
[% separator_displayed = 1 %]
...
...
@@ -90,7 +95,7 @@
</td>
<td>
[% IF type.is_requestable && type.is_requesteeble %]
(<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">)
<span style="white-space: nowrap;">(<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">)</span>
[% END %]
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment