From: Ed Morley
Date: Thu, 28 May 2015 17:04:53 +0000 (+0100)
Subject: Bug 1100476: Add microdata to flag request bugmail so Gmail can display a "View bug...
X-Git-Tag: release-5.1.1~241
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d201cd2f99693dd48198b08ffe59ec5424f9826;p=thirdparty%2Fbugzilla.git
Bug 1100476: Add microdata to flag request bugmail so Gmail can display a "View bug" button
r=dkl,a=glob
---
diff --git a/template/en/default/email/flagmail.html.tmpl b/template/en/default/email/flagmail.html.tmpl
index 152c3420ef..1522ca46dc 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 %]
+
+
+
+
+