Closed Bug 321691 Opened 20 years ago Closed 20 years ago

duplicates.cgi doesn't use <th>

Categories

(Bugzilla :: Reporting/Charting, defect)

2.21
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

Attachments

(1 file, 2 obsolete files)

most of bugzilla is nice and uses th, but duplicates does not.
Attached patch use <thead>, <th>, <tbody> (obsolete) — Splinter Review
Assignee: gerv → timeless
Status: NEW → ASSIGNED
Attachment #206979 - Flags: review?
OS: Windows XP → All
Hardware: PC → All
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 %] >+ [% "&amp;reverse=1" IF NOT reverse %] >+ [% ELSE %] >+ [%-# Some columns start off reversed %] >+ [% "&amp;reverse=1" IF column.name.match('delta|count') %] >+ [% END %] >+ [% "&amp;maxrows=$maxrows" IF maxrows %] >+ [% "&amp;changedsince=$changedsince" IF changedsince %] >+ [% "&amp;openonly=1" IF openonly %] >+ [% FOREACH p = query_products %]&amp;product=[% p FILTER html %][% END %] >+ [% IF format %]&amp;format=[% format FILTER html %][% END %] >+ [% "&amp;bug_id=$bug_ids_string&amp;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-
doh, it's a header, correct tag is /th
Attached patch use <thead>, <th></th>, <tbody> (obsolete) — Splinter Review
Attachment #206979 - Attachment is obsolete: true
Attachment #206999 - Flags: review?(LpSolit)
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: "&amp;bug_id=$bug_ids_string&amp;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 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+
Severity: normal → minor
Target Milestone: --- → Bugzilla 2.22
Flags: approval?
Flags: approval? → approval+
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.

Attachment

General

Creator:
Created:
Updated:
Size: