Closed Bug 670670 Opened 14 years ago Closed 14 years ago

New hook for requests.cgi that allows for additional links after attachment descriptions.

Categories

(Bugzilla :: Extensions, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file, 1 obsolete file)

New hook for requests.cgi queue template that allows for extensions to add links such as [diff], [review], etc. after the attachment description in a list of requests. Patch coming. dkl
Comment on attachment 545180 [details] [diff] [review] Patch to add after_attachment hook to request/queue.html.tmpl (v1) Review of attachment 545180 [details] [diff] [review]: ----------------------------------------------------------------- ::: template/en/default/request/queue.html.tmpl @@ +203,5 @@ > + <td> > + [% PROCESS "display_$column" %] > + [% IF column == 'attachment' %] > + [% Hook.process('after_attachment') %] > + [% END %] Ah, instead, let's do after_column, and let the hook check the value.
Attachment #545180 - Flags: review?(mkanat) → review-
Thanks Max. That is better and still works for our needs. Revised patch attached. dkl
Attachment #545180 - Attachment is obsolete: true
Attachment #547210 - Flags: review?(mkanat)
Comment on attachment 547210 [details] [diff] [review] Patch to add after_column hook to request/queue.html.tmpl (v2) Review of attachment 547210 [details] [diff] [review]: ----------------------------------------------------------------- Looks great. :-)
Attachment #547210 - Flags: review?(mkanat) → review+
Flags: approval4.0+
Flags: approval+
Target Milestone: --- → Bugzilla 4.0
Thanks Max. trunk: Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk modified template/en/default/request/queue.html.tmpl Committed revision 7863. 4.0: Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/4.0 modified template/en/default/request/queue.html.tmpl Committed revision 7619. dkl
Status: NEW → RESOLVED
Closed: 14 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: