From 17b7781c6178e67375edd37907be3eaee72b84d6 Mon Sep 17 00:00:00 2001
From: Simon Green
Date: Mon, 18 Nov 2013 09:08:31 +1000
Subject: Bug 97956 - Give summary and URL of bugs added or removed from
dependencies in bugmail r=LpSolit, a=sgreen
---
template/en/default/email/bugmail.html.tmpl | 19 ++++++++++++++++++-
template/en/default/email/bugmail.txt.tmpl | 9 +++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
(limited to 'template/en/default')
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 @@
[% END %]
+
+ [% IF referenced_bugs.size %]
+
+
+
Referenced [% terms.Bugs %]:
+
+ [% FOREACH ref_bug = referenced_bugs %]
+ -
+ [[% "${terms.Bug} ${ref_bug.id}" FILTER bug_link(ref_bug, {full_url => 1, user => to_user}) FILTER none %]]
+ [% ref_bug.short_desc FILTER html %]
+
+ [% END %]
+
+
+
+ [% 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 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 = [] %]
--
cgit v1.2.1