2013-07-26 15:27:46 +08:00
|
|
|
<div id='main'>
|
2014-05-13 04:51:53 +08:00
|
|
|
|
|
|
|
<% if top.present? %>
|
|
|
|
<div><%= top %></div>
|
|
|
|
<hr>
|
|
|
|
<% end %>
|
|
|
|
|
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>
|