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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
53f98dcc
Commit
53f98dcc
authored
Nov 17, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 180544: prevents display of requestee field for generally requestable fields.
r=bbaetz a=myk
parent
f274309b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
list.html.tmpl
template/en/default/flag/list.html.tmpl
+10
-2
No files found.
template/en/default/flag/list.html.tmpl
View file @
53f98dcc
...
@@ -69,7 +69,10 @@
...
@@ -69,7 +69,10 @@
<table id="flags">
<table id="flags">
[%# Step 1: Display every flag type (except inactive types with no flags). %]
[% FOREACH type = flag_types %]
[% FOREACH type = flag_types %]
[%# Step 1a: Display existing flag(s). %]
[% FOREACH flag = type.flags %]
[% FOREACH flag = type.flags %]
<tr>
<tr>
<td>
<td>
...
@@ -94,7 +97,7 @@
...
@@ -94,7 +97,7 @@
</select>
</select>
</td>
</td>
<td>
<td>
[% IF type.is_active && type.is_request
a
ble %]
[% IF type.is_active && type.is_request
ee
ble %]
<span style="white-space: nowrap;">
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
(<input type="text" size="8" maxlength="255"
id="requestee-[% flag.id %]"
id="requestee-[% flag.id %]"
...
@@ -108,6 +111,8 @@
...
@@ -108,6 +111,8 @@
</td>
</td>
</tr>
</tr>
[% END %]
[% END %]
[%# Step 1b: Display UI for setting flag. %]
[% IF (!type.flags || type.flags.size == 0) && type.is_active %]
[% IF (!type.flags || type.flags.size == 0) && type.is_active %]
<tr>
<tr>
<td> </td>
<td> </td>
...
@@ -124,16 +129,19 @@
...
@@ -124,16 +129,19 @@
</select>
</select>
</td>
</td>
<td>
<td>
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
id="requestee_type-[% type.id %]"
name="requestee_type-[% type.id %]">)
name="requestee_type-[% type.id %]">)
</span>
</span>
[% END %]
</td>
</td>
</tr>
</tr>
[% END %]
[% END %]
[% END %]
[% END %]
[%# Step 2: Display flag type again (if type is multiplicable). %]
[% FOREACH type = flag_types %]
[% FOREACH type = flag_types %]
[% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable && type.is_active %]
[% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable && type.is_active %]
[% IF !separator_displayed %]
[% IF !separator_displayed %]
...
@@ -154,7 +162,7 @@
...
@@ -154,7 +162,7 @@
</select>
</select>
</td>
</td>
<td>
<td>
[% IF type.is_request
able && type.is_request
eeble %]
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
id="requestee_type-[% type.id %]"
...
...
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