summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-15 04:45:15 +0200
committerlpsolit%gmail.com <>2006-08-15 04:45:15 +0200
commit54641d0e624239fdbe1c9e6dc724b977f2aeebbb (patch)
treed61d82e7e7e12d04a65df74fbf508d98c908b702 /template/en
parent10ece7637657f06eea27bb1ab06da35ca8a78765 (diff)
downloadbugzilla-54641d0e624239fdbe1c9e6dc724b977f2aeebbb.tar.gz
bugzilla-54641d0e624239fdbe1c9e6dc724b977f2aeebbb.tar.xz
Bug 275636: Templatise 'newchangedmail' email (BugMail) - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=myk
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/params/mta.html.tmpl19
-rw-r--r--template/en/default/email/newchangedmail.txt.tmpl47
2 files changed, 47 insertions, 19 deletions
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). " _
- "%<i>anythingelse</i>% 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.<br> " _
"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 <batosti@async.com.br>
+ #%]
+
+[% 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 %]
+