diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb index a190d0799..2f0892f66 100644 --- a/app/views/forum_posts/_forum_post.html.erb +++ b/app/views/forum_posts/_forum_post.html.erb @@ -15,8 +15,14 @@
Updated by <%= link_to_user forum_post.updater %> <%= time_ago_in_words_tagged(forum_post.updated_at) %>
+ <% 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 %> <% end %>