Created attachment 605454 [details] [diff] [review] Add new hook User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20110830 Ubuntu/10.04 (lucid) Firefox/3.6.21 Build ID: 20110830191619 Steps to reproduce: Enhancement to add a new hook inside bugmail.html and bugmail.txt templates.
Severity: normal → enhancement
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Created attachment 605464 [details] [diff] [review] Improved patch
Attachment #605464 - Flags: review?(timello)
Could we have some real examples of what you try to do with these hooks?
(In reply to Frédéric Buclin from comment #2) > Could we have some real examples of what you try to do with these hooks? We need to warn users that some of the comments are private and may contain confidential information. Also, this hook allows you to customize the HTML bugmail with a header or anything useful for you.
Comment on attachment 605464 [details] [diff] [review] Improved patch It does what it is proposed for. Also, it passes in all tests.
Attachment #605464 - Flags: review?(timello) → review+
Btw, the new hook does not add any new space/line in the email if it's not in use.
I don't think we need them for 4.2, right?
Target Milestone: --- → Bugzilla 4.4
Thanks Renata! Committing to: bzr+ssh://email@example.com/bugzilla/trunk/ modified template/en/default/email/bugmail.html.tmpl modified template/en/default/email/bugmail.txt.tmpl Committed revision 8156.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.