Closed
Bug 321691
Opened 20 years ago
Closed 20 years ago
duplicates.cgi doesn't use <th>
Categories
(Bugzilla :: Reporting/Charting, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
8.39 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
most of bugzilla is nice and uses th, but duplicates does not.
Updated•20 years ago
|
OS: Windows XP → All
Hardware: PC → All
Comment 2•20 years ago
|
||
Comment on attachment 206979 [details] [diff] [review]
use <thead>, <th>, <tbody>
>+ <th>
>+ [% bug_ids_string = bug_ids.join(',') %]
>+ <a href="duplicates.cgi?sortby=[% column.name %]
>+ [% IF sortby == column.name %]
>+ [% "&reverse=1" IF NOT reverse %]
>+ [% ELSE %]
>+ [%-# Some columns start off reversed %]
>+ [% "&reverse=1" IF column.name.match('delta|count') %]
>+ [% END %]
>+ [% "&maxrows=$maxrows" IF maxrows %]
>+ [% "&changedsince=$changedsince" IF changedsince %]
>+ [% "&openonly=1" IF openonly %]
>+ [% FOREACH p = query_products %]&product=[% p FILTER html %][% END %]
>+ [% IF format %]&format=[% format FILTER html %][% END %]
>+ [% "&bug_id=$bug_ids_string&sortvisible=1"
>+ IF sortvisible %]">
>+ [% column.description %]</a>
>+ </td>
This block is incorrect. You have <th></td>. What's the correct tag?
Attachment #206979 -
Flags: review? → review-
Attachment #206979 -
Attachment is obsolete: true
Attachment #206999 -
Flags: review?(LpSolit)
Comment 5•20 years ago
|
||
Comment on attachment 206999 [details] [diff] [review]
use <thead>, <th></th>, <tbody>
this patch doesn't pass tests:
not ok 220 - (en/default) template/en/default/reports/duplicates-table.html.tmpl has unfiltered directives:
# 82: "&bug_id=$bug_ids_string&sortvisible=1"
# IF sortvisible
# --ERROR
# Failed test (t/008filter.t at line 131)
Attachment #206999 -
Flags: review?(LpSolit) → review-
Attachment #206999 -
Attachment is obsolete: true
Attachment #207093 -
Flags: review?(LpSolit)
Comment 7•20 years ago
|
||
Comment on attachment 207093 [details] [diff] [review]
exceptions are stupid
>Index: mozilla/webtools/bugzilla/template/en/default/reports/duplicates-table.html.tmpl
>+ [% FOREACH column = [ { name => "id", description => "$terms.Bug #" },
>+ { name => "count", description => "Dupe<br>Count" },
>+ { name => "delta",
> description => "Change in last<br>$changedsince day(s)" },
>+ { name => "component", description => "Component" },
>+ { name => "bug_severity", description => "Severity" },
>+ { name => "op_sys", description => "Op Sys" },
>+ { name => "target_milestone",
> description => "Target<br>Milestone" },
>+ { name => "short_desc", description => "Summary" } ]
>+ %]
Please fix the indentation of the two descriptions (vertically aligned with 'name') on checkin.
r=LpSolit
Attachment #207093 -
Flags: review?(LpSolit) → review+
Updated•20 years ago
|
Severity: normal → minor
Target Milestone: --- → Bugzilla 2.22
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: approval? → approval+
Comment 8•20 years ago
|
||
timeless did the checkin, but didn't post the output. Here is was tinderbox says:
tip:
mozilla/webtools/bugzilla/template/en/default/filterexceptions.pl rv1.61
mozilla/webtools/bugzilla/template/en/default/reports/duplicates-table.html.tmpl rv1.12
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•