From 54641d0e624239fdbe1c9e6dc724b977f2aeebbb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 15 Aug 2006 02:45:15 +0000 Subject: Bug 275636: Templatise 'newchangedmail' email (BugMail) - Patch by André Batosti r=LpSolit a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/params/mta.html.tmpl | 19 --------- template/en/default/email/newchangedmail.txt.tmpl | 47 +++++++++++++++++++++++ 2 files changed, 47 insertions(+), 19 deletions(-) create mode 100644 template/en/default/email/newchangedmail.txt.tmpl (limited to 'template/en') diff --git a/template/en/default/admin/params/mta.html.tmpl b/template/en/default/admin/params/mta.html.tmpl index 4e9691701..357193c3d 100644 --- a/template/en/default/admin/params/mta.html.tmpl +++ b/template/en/default/admin/params/mta.html.tmpl @@ -54,25 +54,6 @@ smtpserver => "The SMTP server address (if using SMTP for mail delivery).", - newchangedmail => "The email that gets sent to people when a $terms.bug changes. Within " _ - "this text, %to% gets replaced with the e-mail address of the " _ - "person receiving the mail. %bugid% gets replaced by the $terms.bug " _ - "number. %diffs% gets replaced with what has changed. " _ - "%neworchanged% is 'New:' if this mail is reporting a new $terms.bug or " _ - "empty if changes were made to an existing one. %summary% gets " _ - "replaced by the summary of this ${terms.bug}. %reasonsheader% is " _ - "replaced by an abbreviated list of reasons why the user is " _ - "getting the email, suitable for use in an email header (such " _ - "as X-Bugzilla-Reason). %reasonsbody% is replaced by text that " _ - "explains why the user is getting the email in more user " _ - "friendly text than %reasonsheader%. " _ - "%threadingmarker% will become either a Message-ID line (for " _ - "new-${terms.bug} messages) or a In-Reply-To line (for ${terms.bug}-change " _ - "messages). " _ - "%anythingelse% gets " _ - "replaced by the definition of that parameter (as defined on " _ - "this page).", - whinedays => "The number of days that we'll let a $terms.bug sit untouched in a NEW " _ "state before our cronjob will whine at the owner.
" _ "Set to 0 to disable whining." } diff --git a/template/en/default/email/newchangedmail.txt.tmpl b/template/en/default/email/newchangedmail.txt.tmpl new file mode 100644 index 000000000..2ae08d538 --- /dev/null +++ b/template/en/default/email/newchangedmail.txt.tmpl @@ -0,0 +1,47 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): André Batosti + #%] + +[% PROCESS "global/field-descs.none.tmpl" %] +From: bugzilla-daemon +To: [% to %] +Subject: [[% terms.Bug %] [%+ bugid %]] [% neworchanged %][%+ summary %] +X-Bugzilla-Reason: [% reasonsheader %] +X-Bugzilla-Watch-Reason: [% reasonswatchheader %] +X-Bugzilla-Product: [% product %] +X-Bugzilla-Component: [% comp %] +X-Bugzilla-Keywords: [% keywords %] +X-Bugzilla-Severity: [% severity %] +X-Bugzilla-Who: [% changer %] +X-Bugzilla-Status: [% status %] +X-Bugzilla-Priority: [% priority %] +X-Bugzilla-Assigned-To: [% assignedto %] +X-Bugzilla-Target-Milestone: [% targetmilestone %] +X-Bugzilla-Changed-Fields: [% changedfields %] +[%+ threadingmarker %] + +[%+ Param('urlbase') %]show_bug.cgi?id=[% bugid %] + +[%+ diffs %] + +-- +Configure bugmail: [% Param('urlbase') %]userprefs.cgi?tab=email +[%+ reasonsbody %] + -- cgit v1.2.3-24-g4f1b