fixes #945
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
</ul>
|
||||
|
||||
<h3>Body</h3>
|
||||
<%= format_text(@dmail.body) %>
|
||||
<div class="prose">
|
||||
<%= format_text(@dmail.body) %>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<%= link_to "Respond", new_dmail_path(:respond_to_id => @dmail) %>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<li><%= link_to "Reply", new_forum_post_path(:topic_id => @forum_topic.id) %></li>
|
||||
<% if !@forum_topic.new_record? && @forum_topic.editable_by?(CurrentUser.user) %>
|
||||
<li><%= link_to "Edit", edit_forum_topic_path(@forum_topic) %></li>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<% if CurrentUser.is_janitor? %>
|
||||
<li><%= link_to "Delete", forum_topic_path(@forum_topic), :remote => true, :method => :delete, :confirm => "Do you want to delete this forum topic?" %></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user