summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-04-05 08:31:13 +0200
committerlpsolit%gmail.com <>2006-04-05 08:31:13 +0200
commitc8458af4ba895a5614c44fe9f85795f2142efb5a (patch)
tree5c632cdcfbe2756a99e9933b203d0c64fe53ccc5 /template/en
parentb0b4c4fce29ca6ea88675165f2e7f6100609e9e7 (diff)
downloadbugzilla-c8458af4ba895a5614c44fe9f85795f2142efb5a.tar.gz
bugzilla-c8458af4ba895a5614c44fe9f85795f2142efb5a.tar.xz
Bug 275637: Templatise 'voteremovedmail' email - Patch by Emmanuel Seyman <eseyman@linagora.com> r=LpSolit a=justdave
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/params/mta.html.tmpl13
-rw-r--r--template/en/default/email/votes-removed.txt.tmpl38
2 files changed, 39 insertions, 12 deletions
diff --git a/template/en/default/admin/params/mta.html.tmpl b/template/en/default/admin/params/mta.html.tmpl
index cb2454d62..3e5c8a9fa 100644
--- a/template/en/default/admin/params/mta.html.tmpl
+++ b/template/en/default/admin/params/mta.html.tmpl
@@ -86,17 +86,6 @@
"definition of that parameter (as defined on this page).<p> " _
"It is a good idea to make sure this message has a valid From: " _
"address, so that if the mail bounces, a real person can know " _
- "that there are $terms.bugs assigned to an invalid address.",
+ "that there are $terms.bugs assigned to an invalid address." }
- voteremovedmail => "This is a mail message to send to anyone who gets a vote removed " _
- "from $terms.abug for any reason. %to% gets replaced by the person who " _
- "used to be voting for this ${terms.bug}. %bugid% gets replaced by the " _
- "$terms.bug number. %reason% gets replaced by a short reason describing " _
- "why the vote(s) were removed. %votesremoved%, %votesold% and " _
- "%votesnew% is the number of votes removed, before and after " _
- "respectively. %votesremovedtext%, %votesoldtext% and " _
- "%votesnewtext% are these as sentences, e.g. 'You had 2 votes on " _
- "this ${terms.bug}.' %count% is also supported for backwards " _
- "compatibility. %<i>anythingelse</i>% gets replaced by the " _
- "definition of that parameter (as defined on this page)." }
%]
diff --git a/template/en/default/email/votes-removed.txt.tmpl b/template/en/default/email/votes-removed.txt.tmpl
new file mode 100644
index 000000000..e9f1db34c
--- /dev/null
+++ b/template/en/default/email/votes-removed.txt.tmpl
@@ -0,0 +1,38 @@
+[%# 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): Emmanuel Seyman <eseyman@linagora.com>
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+From: bugzilla-daemon
+To: [% to %]
+Subject: [% terms.Bug %] [%+ bugid %] Some or all of your votes have been removed.
+
+Some or all of your votes have been removed from [% terms.bug %] [%+ bugid %].
+
+[% votesoldtext %]
+
+[% votesnewtext %]
+
+Reason: [% reason %]
+
+
+[% Param("urlbase") %]show_bug.cgi?id=[% bugid %]
+