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
7d01e4bc
Commit
7d01e4bc
authored
Jan 10, 2006
by
timeless%mozdev.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 321691 duplicates.cgi doesn't use <th>
r=lpsolit a=justdave
parent
c7a58f1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
filterexceptions.pl
template/en/default/filterexceptions.pl
+0
-4
duplicates-table.html.tmpl
template/en/default/reports/duplicates-table.html.tmpl
+9
-11
No files found.
template/en/default/filterexceptions.pl
View file @
7d01e4bc
...
@@ -104,10 +104,6 @@
...
@@ -104,10 +104,6 @@
],
],
'reports/duplicates-table.html.tmpl'
=>
[
'reports/duplicates-table.html.tmpl'
=>
[
'"&maxrows=$maxrows" IF maxrows'
,
'"&changedsince=$changedsince" IF changedsince'
,
'"&bug_id=$bug_ids_string&sortvisible=1"
IF sortvisible'
,
'column.name'
,
'column.name'
,
'column.description'
,
'column.description'
,
'bug.id'
,
'bug.id'
,
...
...
template/en/default/reports/duplicates-table.html.tmpl
View file @
7d01e4bc
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
[% IF bug_ids.size > 0 %]
[% IF bug_ids.size > 0 %]
<table border>
<table border>
<thead>
<tr bgcolor="#CCCCCC">
<tr bgcolor="#CCCCCC">
[% FOREACH column = [ { name => "id", description => "$terms.Bug #" },
[% FOREACH column = [ { name => "id", description => "$terms.Bug #" },
{ name => "count", description => "Dupe<br>Count" },
{ name => "count", description => "Dupe<br>Count" },
...
@@ -64,9 +65,7 @@
...
@@ -64,9 +65,7 @@
[%# Small hack to keep delta column out if we don't need it %]
[%# Small hack to keep delta column out if we don't need it %]
[% NEXT IF column.name == "delta" AND NOT dobefore %]
[% NEXT IF column.name == "delta" AND NOT dobefore %]
<td>
<th>
<center>
<b>
[% bug_ids_string = bug_ids.join(',') %]
[% bug_ids_string = bug_ids.join(',') %]
<a href="duplicates.cgi?sortby=[% column.name %]
<a href="duplicates.cgi?sortby=[% column.name %]
[% IF sortby == column.name %]
[% IF sortby == column.name %]
...
@@ -75,19 +74,17 @@
...
@@ -75,19 +74,17 @@
[%-# Some columns start off reversed %]
[%-# Some columns start off reversed %]
[% "&reverse=1" IF column.name.match('delta|count') %]
[% "&reverse=1" IF column.name.match('delta|count') %]
[% END %]
[% END %]
[% "&maxrows=$maxrows" IF maxrows
%]
[% IF maxrows %]&maxrows=[% maxrows FILTER html %][% END
%]
[% "&changedsince=$changedsince" IF changedsince
%]
[% IF changedsince %]&changedsince=[% changedsince FILTER html %][% END
%]
[% "&openonly=1" IF openonly %]
[% "&openonly=1" IF openonly %]
[% FOREACH p = query_products %]&product=[% p FILTER html %][% END %]
[% FOREACH p = query_products %]&product=[% p FILTER html %][% END %]
[% IF format %]&format=[% format FILTER html %][% END %]
[% IF format %]&format=[% format FILTER html %][% END %]
[% "&bug_id=$bug_ids_string&sortvisible=1"
[% IF sortvisible %]&bug_id=[% bug_ids_string FILTER html %]&sortvisible=1[% END %]">
IF sortvisible %]">
[% column.description %]</a>
[% column.description %]</a>
</b>
</th>
</center>
</td>
[% END %]
[% END %]
</tr>
</tr>
</thead>
[% IF NOT sortby %]
[% IF NOT sortby %]
[% sortby = "count"; reverse = "1" %]
[% sortby = "count"; reverse = "1" %]
...
@@ -107,6 +104,7 @@
...
@@ -107,6 +104,7 @@
[% END %]
[% END %]
[%# *** Buglist *** %]
[%# *** Buglist *** %]
<tbody>
[%# We need to keep track of the bug IDs we are actually displaying, because
[%# We need to keep track of the bug IDs we are actually displaying, because
# if the user decides to sort the visible list, we need to know what that
# if the user decides to sort the visible list, we need to know what that
...
@@ -142,7 +140,7 @@
...
@@ -142,7 +140,7 @@
<td>[% bug.short_desc FILTER html %]</td>
<td>[% bug.short_desc FILTER html %]</td>
</tr>
</tr>
[% END %]
[% END %]
</tbody>
</table>
</table>
[% ELSE %]
[% ELSE %]
<h3>No duplicate [% terms.bugs %] found.</h3>
<h3>No duplicate [% terms.bugs %] found.</h3>
...
...
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