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 %>