Merge pull request #3388 from Mooash/Adding_ViewActions

Adding ViewAction into email notifications
This commit is contained in:
Robin Ward 2015-04-23 10:18:57 -04:00
commit 9bce812c8f

View File

@ -23,3 +23,9 @@
%{unsubscribe_link} %{unsubscribe_link}
</div> </div>
</div> </div>
<div itemscope itemtype="http://schema.org/EmailMessage" style="display:none">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="<%= Discourse.base_url %><%= post.url %>" />
<meta itemprop="name" content="<%= t 'read_full_topic' %>"/>
</div>
</div>