Closed Bug 596038 Opened 15 years ago Closed 15 years ago

The before_table hook in list/table.html.tmpl needs to be moved higher in the template

Categories

(Bugzilla :: Extensions, defect)

3.6.2
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

The before_table hook is useful, but is unfortunately set after all these [% BLOCK %]. For some reason, altering abbrev from this hook has no effect. Moving the hook before the first block fixes this problem. Much wanted for 3.6.3.
Severity: enhancement → minor
Attached patch patch, v1Splinter Review
Assignee: extensions → LpSolit
Status: NEW → ASSIGNED
Attachment #474888 - Flags: review?(timello)
Depends on: 566697
Target Milestone: --- → Bugzilla 3.6
(In reply to comment #0) > For some reason, altering abbrev from this hook has no effect. Ah, the reason is obvious. We process tableheader before the hook, which make the hook pretty useless.
Comment on attachment 474888 [details] [diff] [review] patch, v1 Oh, also, that should be BLOCK tableheader, and PROCESS tableheader, no? That's why we were confused. But that could be a separate patch.
Attachment #474888 - Flags: review?(timello) → review+
Flags: approval4.0+
Flags: approval3.6+
Flags: approval+
(In reply to comment #3) > Oh, also, that should be BLOCK tableheader, and PROCESS tableheader, no? I think so too, yes. And yes, let's keep that for another bug. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/list/table.html.tmpl Committed revision 7468. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified template/en/default/list/table.html.tmpl Committed revision 7398. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.6/ modified template/en/default/list/table.html.tmpl Committed revision 7171.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: