From: lpsolit%gmail.com <> Date: Tue, 25 Aug 2009 17:52:34 +0000 (+0000) Subject: Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin ... X-Git-Tag: bugzilla-3.5.1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3782f8d3c53b6e63caea5a6324b237fa5da1ee7;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 %]