From ab799566cda6d877195fa5786b1546b0c763b88a Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 6 Aug 2015 19:57:09 -0400 Subject: [PATCH] Revert "Show "updated by" message for topic deletion, lock, sticky" This reverts commit 28057c1555b88984e9c15c9dd8aa56c39947e302. --- app/views/forum_posts/_forum_post.html.erb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb index 2f0892f66..a190d0799 100644 --- a/app/views/forum_posts/_forum_post.html.erb +++ b/app/views/forum_posts/_forum_post.html.erb @@ -15,14 +15,8 @@
<%= format_text(forum_post.body) %>
- <% if forum_post.is_original_post? %> - <% if @forum_topic.updated_at - @forum_topic.created_at > 5.minutes %> -

Updated by <%= link_to_user @forum_topic.updater %> <%= time_ago_in_words_tagged(@forum_topic.updated_at) %>

- <% end %> - <% else %> - <% if forum_post.updated_at - forum_post.created_at > 5.minutes %> -

Updated by <%= link_to_user forum_post.updater %> <%= time_ago_in_words_tagged(forum_post.updated_at) %>

- <% end %> + <% if forum_post.updated_at - forum_post.created_at > 5.minutes %> +

Updated by <%= link_to_user forum_post.updater %> <%= time_ago_in_words_tagged(forum_post.updated_at) %>

<% end %>
  • ID: <%= forum_post.id %>