Create email actions

- Test email content:
  https://www.google.com/webmasters/markup-tester/u/0/
- Email sender validation:
  https://developers.google.com/gmail/markup/registering-with-google
- Actions doccumentation:
  https://developers.google.com/gmail/markup/overview
remotes/origin/enhancement/email-actions
David Barragán Merino 2015-08-25 19:01:29 +02:00
parent 0e792d75b1
commit d3cc482c54
4 changed files with 13 additions and 0 deletions

View File

@ -447,5 +447,6 @@
</tr> </tr>
</table> </table>
</center> </center>
{% block extra %}{% endblock %}
</body> </body>
</html> </html>

View File

@ -421,5 +421,6 @@
</tr> </tr>
</table> </table>
</center> </center>
{% block extra %}{% endblock %}
</body> </body>
</html> </html>

View File

@ -483,5 +483,6 @@
</tr> </tr>
</table> </table>
</center> </center>
{% block extra %}{% endblock %}
</body> </body>
</html> </html>

View File

@ -9,3 +9,13 @@
<p><small>The Taiga Team</small></p> <p><small>The Taiga Team</small></p>
{% endtrans %} {% endtrans %}
{% endblock %} {% endblock %}
{% block extra %}
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="{{ resolve_front_url("issue", project.slug, snapshot.ref) }}"></link>
<meta itemprop="name" content="{{ _("See issue #{ref}").format(ref=snapshot.ref) }}"></meta>
</div>
<meta itemprop="description" content="{{ _("See issue #{ref} '{subject}' detail page").format(ref=snapshot.ref, subject=snapshot.subject) }}"></meta>
</div>
{% endblock %}