From 481506ab3b54a3255693b05242459b837d4e7b3e Mon Sep 17 00:00:00 2001
From: Byron Jones
Date: Tue, 19 Jun 2012 16:45:35 +0800
Subject: Bug 752400: port "referenced bugs" to bmo/4.2
---
template/en/default/email/bugmail.html.tmpl | 17 ++++++++++++++++-
template/en/default/email/bugmail.txt.tmpl | 9 +++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
(limited to 'template/en/default/email')
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 @@
[% END %]
+
+ [% IF referenced_bugs.size %]
+
+ Referenced [% terms.Bugs %]:
+
+
+ [% END %]
+
You are receiving this mail because:
-
+
[% 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:
--
cgit v1.2.3-24-g4f1b