2014-08-27 19:38:03 +08:00
|
|
|
<div id='main' class=<%= classes %>>
|
2014-05-13 04:51:53 +08:00
|
|
|
|
2013-07-24 15:13:15 +08:00
|
|
|
<%= render :partial => 'email/post', :locals => {:post => post} %>
|
|
|
|
|
|
|
|
<% if context_posts.present? %>
|
2013-07-26 15:27:46 +08:00
|
|
|
<div class='footer'>
|
|
|
|
%{respond_instructions}
|
|
|
|
</div>
|
2013-08-02 06:14:56 +08:00
|
|
|
<hr>
|
2013-07-26 15:27:46 +08:00
|
|
|
<h4 class='.previous-discussion'><%= t "user_notifications.previous_discussion" %></h4>
|
2013-07-24 15:13:15 +08:00
|
|
|
|
|
|
|
<% context_posts.each do |p| %>
|
|
|
|
<%= render :partial => 'email/post', :locals => {:post => p} %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<hr>
|
2013-07-26 15:27:46 +08:00
|
|
|
|
|
|
|
<div class='footer'>
|
|
|
|
%{respond_instructions}
|
|
|
|
</div>
|
|
|
|
<div class='footer'>
|
|
|
|
%{unsubscribe_link}
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-04-22 18:27:14 +08:00
|
|
|
<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>
|