diff options
Diffstat (limited to 'template/en/default/request')
-rw-r--r-- | template/en/default/request/email.txt.tmpl | 8 |
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 %] |