From b3782f8d3c53b6e63caea5a6324b237fa5da1ee7 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 25 Aug 2009 17:52:34 +0000 Subject: Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/email/newchangedmail.txt.tmpl | 2 ++ 1 file changed, 2 insertions(+) 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 %] -- cgit v1.2.3-24-g4f1b