From 5a1591000bbb64e7a658be60ce9d9d20a280b130 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Sun, 22 Feb 2015 22:15:52 +0000 Subject: [PATCH] Bug 1102364: Add microdata to HTML bugmail so GMail can display a "View bug" button r=dkl,a=sgreen git-svn-id: svn://10.0.0.236/trunk@265825 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- .../bugzilla/template/en/default/email/bugmail.html.tmpl | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 54534b00616..55985701d1d 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9309 \ No newline at end of file +9310 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 26ad15e6b64..e10b7307da3 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -a500926139233fb1e0f137c4fc8a4f9977ee418b \ No newline at end of file +240dec401db61e0a7db14c9fef1e4dec8c2fbedc \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/template/en/default/email/bugmail.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/email/bugmail.html.tmpl index b0f4efb45cf..458c1a6a429 100644 --- a/mozilla/webtools/bugzilla/template/en/default/email/bugmail.html.tmpl +++ b/mozilla/webtools/bugzilla/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 %] +
+
+ + +
+ +