Revert "Show "updated by" message for topic deletion, lock, sticky"

This reverts commit 28057c1555.
This commit is contained in:
Toks
2015-08-06 19:57:09 -04:00
parent 28057c1555
commit ab799566cd

View File

@@ -15,14 +15,8 @@
<div class="prose">
<%= format_text(forum_post.body) %>
</div>
<% if forum_post.is_original_post? %>
<% if @forum_topic.updated_at - @forum_topic.created_at > 5.minutes %>
<p class="info">Updated by <%= link_to_user @forum_topic.updater %> <%= time_ago_in_words_tagged(@forum_topic.updated_at) %></p>
<% end %>
<% else %>
<% if forum_post.updated_at - forum_post.created_at > 5.minutes %>
<p class="info">Updated by <%= link_to_user forum_post.updater %> <%= time_ago_in_words_tagged(forum_post.updated_at) %></p>
<% end %>
<% if forum_post.updated_at - forum_post.created_at > 5.minutes %>
<p class="info">Updated by <%= link_to_user forum_post.updater %> <%= time_ago_in_words_tagged(forum_post.updated_at) %></p>
<% end %>
<menu>
<li>ID: <%= forum_post.id %></li>