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