Fix #4002: Always include "updated by" line when creator != updater
This commit is contained in:
@@ -17,9 +17,7 @@
|
||||
<div class="prose">
|
||||
<%= format_text(forum_post.body) %>
|
||||
</div>
|
||||
<% 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 %>
|
||||
<%= render "update_notice", record: forum_post %>
|
||||
<menu>
|
||||
<li>ID: <%= forum_post.id %></li>
|
||||
<% if CurrentUser.is_member? && @forum_topic %>
|
||||
|
||||
Reference in New Issue
Block a user