discourse/app/views/email/notification.html.erb
2014-08-06 15:30:07 -04:00

30 lines
575 B
Text

<div id='main'>
<% if top.present? %>
<div><%= top %></div>
<hr>
<% end %>
<%= render :partial => 'email/post', :locals => {:post => post} %>
<% if context_posts.present? %>
<div class='footer'>
%{respond_instructions}
</div>
<hr>
<h4 class='.previous-discussion'><%= t "user_notifications.previous_discussion" %></h4>
<% context_posts.each do |p| %>
<%= render :partial => 'email/post', :locals => {:post => p} %>
<% end %>
<% end %>
<hr>
<div class='footer'>
%{respond_instructions}
</div>
<div class='footer'>
%{unsubscribe_link}
</div>
</div>