diff options
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/request/email.txt.tmpl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl index 01d72260f..2b9ea3782 100644 --- a/template/en/default/request/email.txt.tmpl +++ b/template/en/default/request/email.txt.tmpl @@ -25,14 +25,17 @@ [% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %] [% attidsummary = attachment.id _ ': ' _ attachment.description %] [% flagtype_name = flag ? flag.type.name : old_flag.type.name %] -[%# Upstreaming: denied (bug 621883) %] -[% statuses = { '+' => "granted" , '-' => 'not granted' , 'X' => "canceled" , - '?' => "asked" } %] +[% statuses = { '+' => "granted" , '-' => 'not granted' , 'X' => "canceled" , '?' => "asked" } %] [% to_identity = "" %] [% on_behalf_of = 0 %] [% action = flag.status || 'X' %] +[% + attach_url = { title => "", href => "" }; + Hook.process("start"); +%] + [% IF flag && flag.status == '?' %] [% subject_status = "requested" %] [% IF flag.setter_id == user.id %] @@ -78,6 +81,9 @@ X-Bugzilla-Flag-Requestee: [% flag.requestee.email %] [% FILTER bullet = wrap(80) %] Attachment [% attidsummary %] [%- END %] +[% IF attach_url.href %] +[%+ attach_url.title _ ": " _ attach_url.href %] +[%- END %] [%+ urlbase %]attachment.cgi?id=[% attachment.id %]&action=edit [%- END %] |