From: lpsolit%gmail.com <> Date: Tue, 25 Aug 2009 17:54:33 +0000 (+0000) Subject: Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin ... X-Git-Tag: bugzilla-3.4.2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246c764ba9f8a2d940a090f5a8ebdfadb7fb5000;p=thirdparty%2Fbugzilla.git Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/template/en/default/email/newchangedmail.txt.tmpl b/template/en/default/email/newchangedmail.txt.tmpl index b90c15b1d2..ab614c1da2 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 %]