From 4d201cd2f99693dd48198b08ffe59ec5424f9826 Mon Sep 17 00:00:00 2001
From: Ed Morley
Date: Thu, 28 May 2015 18:04:53 +0100
Subject: Bug 1100476: Add microdata to flag request bugmail so Gmail can
display a "View bug" button r=dkl,a=glob
---
template/en/default/email/flagmail.html.tmpl | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
(limited to 'template/en/default')
diff --git a/template/en/default/email/flagmail.html.tmpl b/template/en/default/email/flagmail.html.tmpl
index 152c3420e..1522ca46d 100644
--- a/template/en/default/email/flagmail.html.tmpl
+++ b/template/en/default/email/flagmail.html.tmpl
@@ -62,9 +62,11 @@
[% Hook.process('after_summary') %]
- [% FOREACH comment = new_comments %]
+ [% comment_anchor = '' %]
+ [% FOREACH comment = new_comments.reverse %]
[% IF comment.count %]
+ [% comment_anchor = "#c$comment.count" %]
[% "Comment # ${comment.count}" FILTER bug_link(bug,
{comment_num => comment.count, full_url => 1, user => to_user}) FILTER none =%]
on [% "$terms.bug $bug.id" FILTER bug_link(bug, { full_url => 1, user => to_user }) FILTER none =%]
@@ -78,5 +80,14 @@
[% END %]
+
+
+
+ [%# Filtering of the URL param is not required & would break the URL when the comment anchor is set %]
+
+
+
+
+