summaryrefslogtreecommitdiffstats
path: root/template/en/default/email
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-06-19 10:45:35 +0200
committerByron Jones <bjones@mozilla.com>2012-06-19 10:45:35 +0200
commit481506ab3b54a3255693b05242459b837d4e7b3e (patch)
treefd7b0a5bd95e39e7d52ff574ecdb08d25de28a0d /template/en/default/email
parent4a25dd5a2716beaafa2de96e0dba3e35e5d160f8 (diff)
downloadbugzilla-481506ab3b54a3255693b05242459b837d4e7b3e.tar.gz
bugzilla-481506ab3b54a3255693b05242459b837d4e7b3e.tar.xz
Bug 752400: port "referenced bugs" to bmo/4.2
Diffstat (limited to 'template/en/default/email')
-rw-r--r--template/en/default/email/bugmail.html.tmpl17
-rw-r--r--template/en/default/email/bugmail.txt.tmpl9
2 files changed, 25 insertions, 1 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index f8f182548..92174fb3b 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -40,9 +40,24 @@
</div>
[% END %]
</p>
+
+ [% IF referenced_bugs.size %]
+ <hr>
+ <span>Referenced [% terms.Bugs %]:</span>
+
+ <ul>
+ [% FOREACH ref = referenced_bugs %]
+ <li>
+ [<a href="[% urlbase FILTER html %]/show_bug.cgi?id=[% ref.id FILTER none %]">
+ [% terms.Bug %]&nbsp;[% ref.id FILTER none %]</a>] [% ref.short_desc FILTER html %]
+ </li>
+ [% END %]
+ </ul>
+ [% 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 c3657ad9f..a2f1e7556 100644
--- a/template/en/default/email/bugmail.txt.tmpl
+++ b/template/en/default/email/bugmail.txt.tmpl
@@ -38,6 +38,15 @@ Do not reply to this email. You can add comments to this [% terms.bug %] at
[% END %]
[%+ comment.body_full({ is_bugmail => 1, wrap => 1 }) %]
[% END %]
+[% IF referenced_bugs.size %]
+
+Referenced [% terms.Bugs %]:
+
+[% FOREACH ref = referenced_bugs %]
+[%+ urlbase %]show_bug.cgi?id=[% ref.id %]
+[%+ "[" _ terms.Bug _ " " _ ref.id _ "] " _ ref.short_desc FILTER wrap_comment(76) %]
+[% END %]
+[% END %]
-- [%# Protect the trailing space of the signature marker %]
You are receiving this mail because: