/user_feedbacks: display "Updated N minutes ago" on edited feedbacks (#3423).
This commit is contained in:
@@ -18,7 +18,12 @@
|
||||
<td><%= link_to_user feedback.user %></td>
|
||||
<td><%= link_to_user feedback.creator %></td>
|
||||
<td><%= compact_time(feedback.created_at) %></td>
|
||||
<td><%= format_text(feedback.body) %></td>
|
||||
<td>
|
||||
<%= format_text(feedback.body) %>
|
||||
<% if feedback.updated_at > feedback.created_at %>
|
||||
<p class="info">Updated <%= time_ago_in_words_tagged(feedback.updated_at) %></p>
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
<% if feedback.editable_by?(CurrentUser.user) %>
|
||||
<%= link_to "edit", edit_user_feedback_path(feedback) %>
|
||||
|
||||
Reference in New Issue
Block a user