summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-08-14 02:06:37 +0200
committerjustdave%syndicomm.com <>2001-08-14 02:06:37 +0200
commit45e6db585277cc4bbd44a3242c082b3354bb27a3 (patch)
tree2104781f327e83d1ae0a6db177d2735cf4ecb8bc /defparams.pl
parent4896251a3b321d2d71dbd44102aaa45c417d1b67 (diff)
downloadbugzilla-45e6db585277cc4bbd44a3242c082b3354bb27a3.tar.gz
bugzilla-45e6db585277cc4bbd44a3242c082b3354bb27a3.tar.xz
Fix for bug 26194: There are now substitution parameters available for use in newchangedmail which will include the reason(s)
that the person is receiving the mail in either an email header, the body of the message, or both. The default newchangedmail parameter includes these in it. If you have an existing installation you will need to either hit "reset" next to the newchangedmail parameter, or add the substitution parameters where you like them according to the instructions given in editparams.cgi viewed from the web. Patch by Matthew Tuck <matty@chariot.net.au> and Zach Lipton <zach@zachlipton.com> r= justdave@syndicomm.com
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl15
1 files changed, 11 insertions, 4 deletions
diff --git a/defparams.pl b/defparams.pl
index 868efad92..418f56cae 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -375,8 +375,13 @@ text, %to% gets replaced with the e-mail address of the person recieving
the mail. %bugid% gets replaced by the bug number. %diffs% gets
replaced with what's changed. %neworchanged% is "New:" if this mail is
reporting a new bug or empty if changes were made to an existing one.
-%summary% gets replaced by the summary of this bug. %<i>anythingelse</i>%
-gets replaced by the definition of that parameter (as defined on this
+%summary% gets replaced by the summary of this 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%.
+%<i>anythingelse</i>% gets replaced by the definition of
+that parameter (as defined on this
page).},
"l",
"From: bugzilla-daemon
@@ -386,9 +391,11 @@ X-Bugzilla-Reason: %reasonsheader%
%urlbase%show_bug.cgi?id=%bugid%
-%reasonsbody%
+%diffs%
-%diffs%");
+
+
+%reasonsbody%");