diff options
author | Simon Green <sgreen@redhat.com> | 2013-11-18 09:08:31 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-11-18 09:08:31 +1000 |
commit | 17b7781c6178e67375edd37907be3eaee72b84d6 (patch) | |
tree | 554cd42b9c7d6c239e3f2ea339b0ab32a4c46a78 /template/en/default | |
parent | 1cf4971f32fe1fffb3919c9a459e92f6a2c0ca02 (diff) | |
download | bugs-17b7781c6178e67375edd37907be3eaee72b84d6.tar bugs-17b7781c6178e67375edd37907be3eaee72b84d6.tar.gz bugs-17b7781c6178e67375edd37907be3eaee72b84d6.tar.bz2 bugs-17b7781c6178e67375edd37907be3eaee72b84d6.tar.xz bugs-17b7781c6178e67375edd37907be3eaee72b84d6.zip |
Bug 97956 - Give summary and URL of bugs added or removed from dependencies in bugmail
r=LpSolit, a=sgreen
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/email/bugmail.html.tmpl | 19 | ||||
-rw-r--r-- | template/en/default/email/bugmail.txt.tmpl | 9 |
2 files changed, 27 insertions, 1 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl index 6464e0a96..a5fc25ee3 100644 --- a/template/en/default/email/bugmail.html.tmpl +++ b/template/en/default/email/bugmail.html.tmpl @@ -29,9 +29,26 @@ </div> [% END %] </p> + + [% IF referenced_bugs.size %] + <div id="referenced"> + <hr style="border: 1px dashed #969696"> + <b>Referenced [% terms.Bugs %]:</b> + <ul> + [% FOREACH ref_bug = referenced_bugs %] + <li> + [[% "${terms.Bug} ${ref_bug.id}" FILTER bug_link(ref_bug, {full_url => 1, user => to_user}) FILTER none %]] + [% ref_bug.short_desc FILTER html %] + </li> + [% END %] + </ul> + </div> + <br> + [% END %] + <hr> <span>You are receiving this mail because:</span> - + <ul> [% FOREACH reason = reasons %] [% IF reason_descs.$reason %] diff --git a/template/en/default/email/bugmail.txt.tmpl b/template/en/default/email/bugmail.txt.tmpl index 92c9a33cb..b8d11e0e1 100644 --- a/template/en/default/email/bugmail.txt.tmpl +++ b/template/en/default/email/bugmail.txt.tmpl @@ -22,6 +22,15 @@ [%+ comment.body_full({ is_bugmail => 1, wrap => 1 }) %] [% END %] +[% IF referenced_bugs.size %] + +Referenced [% terms.Bugs %]: + +[% FOREACH ref_bug = referenced_bugs %] +[%+ urlbase %]show_bug.cgi?id=[% ref_bug.id %] +[%+ "[" _ terms.Bug _ " " _ ref_bug.id _ "] " _ ref_bug.short_desc FILTER wrap_comment %] +[% END %] +[% END %] -- [%# Protect the trailing space of the signature marker %] You are receiving this mail because: [% SET reason_lines = [] %] |