Closed Bug 566697 Opened 15 years ago Closed 15 years ago

Add a new hook in the list/table.html.tmpl to customize the columns attributes (abbrev, maxlength)

Categories

(Bugzilla :: Extensions, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: timello, Assigned: timello)

References

Details

Attachments

(1 file)

It would be nice if we can change the hash abbrev in the template and set our own abbreviation, maxlength, title, etc. maybe: [% Hook.process("columns_attrib") %] Max, does it sound ok?
This is a good idea for sure. I think we should just call it before_table, though, and put it right before the table is rendered.
Attached patch before_tableSplinter Review
Assignee: extensions → timello
Status: NEW → ASSIGNED
Attachment #446220 - Flags: review?(mkanat)
Comment on attachment 446220 [details] [diff] [review] before_table lookz gewd 2 me.
Attachment #446220 - Flags: review?(mkanat) → review+
Flags: approval3.6+
Flags: approval+
Target Milestone: Bugzilla 3.8 → Bugzilla 3.6
Thanks for the patch, timello! :-) Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/list/table.html.tmpl Committed revision 7186. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/ modified template/en/default/list/table.html.tmpl Committed revision 7101.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 596038
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: