summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-08-25 09:12:12 +0200
committerjake%acutex.net <>2001-08-25 09:12:12 +0200
commitcc92806629faf3c3abd43690fd26866688f916f0 (patch)
tree547f8f30663c3a0429fe3ad2aaa535a8ce27d30e /defparams.pl
parent549954949a402ba5bc84cfb83cda3d62a8e1a887 (diff)
downloadbugzilla-cc92806629faf3c3abd43690fd26866688f916f0.tar.gz
bugzilla-cc92806629faf3c3abd43690fd26866688f916f0.tar.xz
Fix for bug 95634 - Improvements to Param('voteremovedmail')
Patch by Matthew Tuck <matty@chariot.net.au> r= jake@acutex.net
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/defparams.pl b/defparams.pl
index 418f56cae..46a00b78f 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -555,17 +555,19 @@ DefParam("emailsuffix",
DefParam("voteremovedmail",
-q{This is a mail message to send to anyone who gets a vote removed from a bug for any reason. %to% gets replaced by a comma-separated list of people who used to be voting for this bug. %bugid% gets replaced by the bug number. %reason% gets replaced by a short reason describing why the vote was removed. %count% is how many votes got removed.%<i>anythingelse</i>% gets replaced by the definition of that parameter (as defined on this page).},
+q{This is a mail message to send to anyone who gets a vote removed from a bug for any reason. %to% gets replaced by the person who used to be voting for this bug. %bugid% gets replaced by the 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, eg "You had 2 votes on this bug." %count% is also supported for backwards compatibility. %<i>anythingelse</i>% gets replaced by the definition of that parameter (as defined on this page).},
"l",
"From: bugzilla-daemon
To: %to%
-Subject: [Bug %bugid%] Your vote has been removed from this bug
+Subject: [Bug %bugid%] Some or all of your votes have been removed.
-You used to have a vote on bug %bugid%, but it has been removed.
+Some or all of your votes have been removed from bug %bugid%.
-Reason: %reason%
+%votesoldtext%
+
+%votesnewtext%
-Votes removed: %count%
+Reason: %reason%
%urlbase%show_bug.cgi?id=%bugid%
");