summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-08-25 19:52:34 +0200
committerlpsolit%gmail.com <>2009-08-25 19:52:34 +0200
commitb3782f8d3c53b6e63caea5a6324b237fa5da1ee7 (patch)
treed3d76a2bd73a7234ed7ff31cb42703637567f8ec /template
parenta2336d70faed66049c4c7fb8d51e044aa34fb205 (diff)
downloadbugzilla-b3782f8d3c53b6e63caea5a6324b237fa5da1ee7.tar.gz
bugzilla-b3782f8d3c53b6e63caea5a6324b237fa5da1ee7.tar.xz
Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/email/newchangedmail.txt.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/email/newchangedmail.txt.tmpl b/template/en/default/email/newchangedmail.txt.tmpl
index b90c15b1d..ab614c1da 100644
--- a/template/en/default/email/newchangedmail.txt.tmpl
+++ b/template/en/default/email/newchangedmail.txt.tmpl
@@ -47,7 +47,9 @@ X-Bugzilla-Changed-Fields: [% changedfields %]
[% END -%]
[% FOREACH comment = new_comments %]
+[%- IF comment.count %]
--- Comment #[% comment.count %] from [% comment.author.identity %] [%+ comment.time FILTER time %] ---
+[% END %]
[%+ PROCESS bug/format_comment.txt.tmpl comment = comment %]
[% END %]