From 16e6b9c6ae479e28cd77204a3d7d9966b293c19a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 8 May 2012 14:13:49 +0800 Subject: Bug 663747: Add an option to disable 'New: ' prefix on bugmail r=gerv, a=LpSolit --- template/en/default/email/bugmail-header.txt.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template/en/default/email/bugmail-header.txt.tmpl') diff --git a/template/en/default/email/bugmail-header.txt.tmpl b/template/en/default/email/bugmail-header.txt.tmpl index 7454b3684..7335ad9ec 100644 --- a/template/en/default/email/bugmail-header.txt.tmpl +++ b/template/en/default/email/bugmail-header.txt.tmpl @@ -8,10 +8,12 @@ [% PROCESS "global/reason-descs.none.tmpl" %] [% isnew = bug.lastdiffed ? 0 : 1 %] +[% show_new = isnew + && (to_user.settings.bugmail_new_prefix.value == 'on') %] From: [% Param('mailfrom') %] To: [% to_user.email %] -Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF isnew %][%+ bug.short_desc %] +Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF show_new %][%+ bug.short_desc %] Date: [% date %] X-Bugzilla-Reason: [% reasonsheader %] X-Bugzilla-Type: [% isnew ? 'new' : 'changed' %] -- cgit v1.2.3-24-g4f1b