From: Ed Morley Date: Sun, 22 Feb 2015 21:59:56 +0000 (+0000) Subject: Bug 1102364: Add microdata to HTML bugmail so GMail can display a "View bug" button X-Git-Tag: release-5.1.1~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240dec401db61e0a7db14c9fef1e4dec8c2fbedc;p=thirdparty%2Fbugzilla.git Bug 1102364: Add microdata to HTML bugmail so GMail can display a "View bug" button r=dkl,a=sgreen --- diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl index b0f4efb45c..458c1a6a42 100644 --- a/template/en/default/email/bugmail.html.tmpl +++ b/template/en/default/email/bugmail.html.tmpl @@ -17,9 +17,11 @@ [% Hook.process('start') %] [% PROCESS generate_diffs %]

+ [% SET 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 %] @@ -61,6 +63,13 @@ [% END %] [% END %] +
+
+ + +
+ +