aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenata Ghisloti <rgduarte@linux.vnet.ibm.com>2012-03-15 12:02:16 -0300
committerTiago Mello <timello@gmail.com>2012-03-15 12:02:16 -0300
commit0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c (patch)
tree8567b298e19acaaee315e63cbea7130433765668 /template/en/default/email
parentBug 734078: cache localconfig per-process (diff)
downloadbugzilla-0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c.tar.gz
bugzilla-0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c.tar.bz2
bugzilla-0bb6f6f7d009f9eaac44c02b62480f8fdd69cf5c.zip
Bug 735332: Add 'start' hook in bugmail templates.
r=timello, a=LpSolit
Diffstat (limited to 'template/en/default/email')
-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 %]