summaryrefslogtreecommitdiffstats
path: root/template/en/default/request
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-15 02:25:21 +0200
committerlpsolit%gmail.com <>2007-05-15 02:25:21 +0200
commit399108ea7381ed961c33bbfdafec78824fe737da (patch)
tree2a919900b1bf6252101cc2efa050e412aa1560e7 /template/en/default/request
parentd48ca3b1db102bb50b831ce0f9bbbf7117afedd8 (diff)
downloadbugzilla-399108ea7381ed961c33bbfdafec78824fe737da.tar.gz
bugzilla-399108ea7381ed961c33bbfdafec78824fe737da.tar.xz
Bug 379787: Flag request mail has a blank requestee when requestee doesn't get the mail - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked r=myk a=LpSolit
Diffstat (limited to 'template/en/default/request')
-rw-r--r--template/en/default/request/email.txt.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl
index 1a20a4115..22c1ffbd6 100644
--- a/template/en/default/request/email.txt.tmpl
+++ b/template/en/default/request/email.txt.tmpl
@@ -27,12 +27,14 @@
[% attidsummary = attachment.id _ ': ' _ attachment.description %]
[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "canceled" ,
'?' => "asked" } %]
+
+[% to_identity = "" %]
[% IF flag.status == '?' %]
- [% to_identity = flag.addressee.identity _ " for" %]
+ [% to_identity = flag.requestee.identity _ " for" %]
[% subject_status = "requested" %]
[% ELSE %]
- [% IF flag.addressee %]
- [% to_identity = flag.addressee.identity _ "'s request for" %]
+ [% IF flag.requester %]
+ [% to_identity = flag.requester.identity _ "'s request for" %]
[% END %]
[% subject_status = statuses.${flag.status} %]
[% END %]