Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
4d201cd2
Commit
4d201cd2
authored
May 28, 2015
by
Ed Morley
Committed by
David Lawrence
May 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1100476: Add microdata to flag request bugmail so Gmail can display a "View bug" button
r=dkl,a=glob
parent
cd263e88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
flagmail.html.tmpl
template/en/default/email/flagmail.html.tmpl
+12
-1
No files found.
template/en/default/email/flagmail.html.tmpl
View file @
4d201cd2
...
...
@@ -62,9 +62,11 @@
[% Hook.process('after_summary') %]
<p>
[% FOREACH comment = new_comments %]
[% comment_anchor = '' %]
[% FOREACH comment = new_comments.reverse %]
<div>
[% IF comment.count %]
[% comment_anchor = "#c$comment.count" %]
<b>
[% "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 @@
</div>
[% END %]
</p>
<div
itemscope
itemtype=
"http://schema.org/EmailMessage"
>
<div
itemprop=
"action"
itemscope
itemtype=
"http://schema.org/ViewAction"
>
[%# Filtering of the URL param is not required
&
would break the URL when the comment anchor is set %]
<link
itemprop=
"url"
href=
"[% urlbase FILTER html %]show_bug.cgi?id=[% "
$
bug
.
id
$
comment_anchor
"
FILTER
none
%]"
>
<meta
itemprop=
"name"
content=
"View [% terms.bug %]"
>
</div>
<meta
itemprop=
"description"
content=
"[% terms.Bugzilla %] [%+ terms.bug %] update notification"
>
</div>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment