Fix #4002: Always include "updated by" line when creator != updater
This commit is contained in:
@@ -16,9 +16,7 @@
|
||||
<div class="body prose">
|
||||
<%= format_text(comment.body) %>
|
||||
|
||||
<% if comment.updated_at - comment.created_at > 5.minutes %>
|
||||
<p class="info">Updated by <%= link_to_user comment.updater %> <%= time_ago_in_words_tagged(comment.updated_at) %></p>
|
||||
<% end %>
|
||||
<%= render "update_notice", record: comment %>
|
||||
</div>
|
||||
|
||||
<% if CurrentUser.is_member? %>
|
||||
|
||||
Reference in New Issue
Block a user