2014-08-27 07:38:03 -04:00
|
|
|
<div id='main' class=<%= classes %>>
|
2014-05-12 16:51:53 -04:00
|
|
|
|
2015-12-07 16:52:10 -05:00
|
|
|
<div class='header-instructions'>%{header_instructions}</div>
|
|
|
|
|
2015-08-12 17:00:16 -04:00
|
|
|
<%= render partial: 'email/post', locals: { post: post } %>
|
2013-07-24 03:13:15 -04:00
|
|
|
|
2015-08-12 17:00:16 -04:00
|
|
|
<% if context_posts.present? %>
|
|
|
|
<div class='footer'>%{respond_instructions}</div>
|
|
|
|
|
|
|
|
<hr>
|
2013-07-24 03:13:15 -04:00
|
|
|
|
2015-08-12 17:00:16 -04:00
|
|
|
<h4 class='.previous-discussion'><%= t "user_notifications.previous_discussion" %></h4>
|
|
|
|
|
|
|
|
<% context_posts.each do |p| %>
|
|
|
|
<%= render partial: 'email/post', locals: { post: p } %>
|
|
|
|
<% end %>
|
2013-07-24 03:13:15 -04:00
|
|
|
<% end %>
|
|
|
|
|
2015-08-12 17:00:16 -04:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class='footer'>%{respond_instructions}</div>
|
|
|
|
<div class='footer'>%{unsubscribe_link}</div>
|
2013-07-26 03:27:46 -04:00
|
|
|
|
|
|
|
</div>
|
2015-08-12 17:00:16 -04:00
|
|
|
|
2015-04-22 06:27:14 -04:00
|
|
|
<div itemscope itemtype="http://schema.org/EmailMessage" style="display:none">
|
2015-08-12 17:00:16 -04:00
|
|
|
<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>
|
2015-04-22 06:27:14 -04:00
|
|
|
</div>
|