summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenata Ghisloti <rgduarte@linux.vnet.ibm.com>2012-03-15 16:02:16 +0100
committerTiago Mello <timello@gmail.com>2012-03-15 16:02:16 +0100
commit0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c (patch)
tree8567b298e19acaaee315e63cbea7130433765668
parent8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444 (diff)
downloadbugzilla-0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c.tar.gz
bugzilla-0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c.tar.xz
Bug 735332: Add 'start' hook in bugmail templates.
r=timello, a=LpSolit
-rw-r--r--template/en/default/email/bugmail.html.tmpl1
-rw-r--r--template/en/default/email/bugmail.txt.tmpl2
2 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 8e30cff4b..1d061274a 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -14,6 +14,7 @@
<base href="[% urlbase FILTER html %]" />
</head>
<body>
+ [% Hook.process('start') %]
[% PROCESS generate_diffs %]
<p>
[% FOREACH comment = new_comments.reverse %]
diff --git a/template/en/default/email/bugmail.txt.tmpl b/template/en/default/email/bugmail.txt.tmpl
index b51935f64..92c9a33cb 100644
--- a/template/en/default/email/bugmail.txt.tmpl
+++ b/template/en/default/email/bugmail.txt.tmpl
@@ -10,6 +10,8 @@
[% isnew = bug.lastdiffed ? 0 : 1 %]
+[% Hook.process('start') %]
+
[%+ PROCESS generate_diffs -%]
[% FOREACH comment = new_comments %]