diff options
author | lpsolit%gmail.com <> | 2006-06-19 05:46:50 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-19 05:46:50 +0000 |
commit | 4c74fbe031e5f0b58176ce42220f456e01bb0548 (patch) | |
tree | d0b3ab2c685bf0a2d04c0e602b7ebf8872c9300e /template/en/default/request | |
parent | 1ae6c5f8f166dff351408f570b56ec2adabbedb9 (diff) | |
download | bugs-4c74fbe031e5f0b58176ce42220f456e01bb0548.tar bugs-4c74fbe031e5f0b58176ce42220f456e01bb0548.tar.gz bugs-4c74fbe031e5f0b58176ce42220f456e01bb0548.tar.bz2 bugs-4c74fbe031e5f0b58176ce42220f456e01bb0548.tar.xz bugs-4c74fbe031e5f0b58176ce42220f456e01bb0548.zip |
Bug 339750: Remove Bugzilla::Flag::GetBug - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'template/en/default/request')
-rw-r--r-- | template/en/default/request/email.txt.tmpl | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl index 6e92c72ca..3fb08c447 100644 --- a/template/en/default/request/email.txt.tmpl +++ b/template/en/default/request/email.txt.tmpl @@ -23,9 +23,8 @@ [% PROCESS global/variables.none.tmpl %] -[% bugidsummary = flag.target.bug.id _ ': ' _ flag.target.bug.summary %] -[% attidsummary = flag.target.attachment.id _ ': ' _ - flag.target.attachment.summary %] +[% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %] +[% attidsummary = attachment.id _ ': ' _ attachment.description %] [% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "cancelled" , '?' => "asked" } %] [% IF flag.status == '?' %] @@ -39,9 +38,9 @@ [% END %] From: bugzilla-request-daemon To: [% to %] -Subject: [% flag.type.name %] [%+ subject_status %]: [[% terms.Bug %] [%+ flag.target.bug.id %]] [% flag.target.bug.summary %] -[%- IF flag.target.attachment.exists %] : - [Attachment [% flag.target.attachment.id %]] [% flag.target.attachment.summary %][% END %] +Subject: [% flag.type.name %] [%+ subject_status %]: [[% terms.Bug %] [%+ bug.bug_id %]] [% bug.short_desc %] +[%- IF attachment %] : + [Attachment [% attachment.id %]] [% attachment.description %][% END %] [%+ USE wrap -%] [%- FILTER bullet = wrap(80) -%] @@ -50,13 +49,13 @@ Subject: [% flag.type.name %] [%+ subject_status %]: [[% terms.Bug %] [%+ flag.t [% terms.Bug %] [%+ bugidsummary %] [% END %] -[%+ Param('urlbase') %]show_bug.cgi?id=[% flag.target.bug.id %] -[% IF flag.target.attachment.exists %] +[%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %] +[% IF attachment %] [% FILTER bullet = wrap(80) %] Attachment [% attidsummary %] [%- END %] -[%+ Param('urlbase') %]attachment.cgi?id=[% flag.target.attachment.id %]&action=edit +[%+ Param('urlbase') %]attachment.cgi?id=[% attachment.id %]&action=edit [%- END %] [%- FILTER bullet = wrap(80) %] |