better formatting for forum update emails
This commit is contained in:
@@ -1,21 +1,13 @@
|
|||||||
<!doctype html>
|
<p>"<%= @forum_topic.title %>" was updated:</p>
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<%= stylesheet_link_tag "application", :media => "screen" %>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p><%= @forum_topic.title %> was updated:</p>
|
|
||||||
|
|
||||||
<% @forum_posts.each do |forum_post| %>
|
<% @forum_posts.each do |forum_post| %>
|
||||||
<div class="prose">
|
<p>
|
||||||
<p class="author">
|
<strong><%= forum_post.creator_name %> said:</strong>
|
||||||
<%= forum_post.creator_name %> said:
|
</p>
|
||||||
</p>
|
<%= format_text(forum_post.body) %>
|
||||||
<%= format_text(forum_post.body) %>
|
<br>
|
||||||
</div>
|
<hr>
|
||||||
|
<br>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p><%= link_to "View topic", forum_topic_path(@forum_topic, :page => @forum_topic.last_page, :host => Danbooru.config.hostname, :only_path => false) %></p>
|
<p><%= link_to "View topic", forum_topic_path(@forum_topic, :page => @forum_topic.last_page, :host => Danbooru.config.hostname, :only_path => false) %></p>
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user