add ubiquitous time tags
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<tr class="user-record-score-<%= record.category %>">
|
||||
<td><%= link_to(record.user.name, user_path(record.user)) %></td>
|
||||
<td><%= format_text(record.body) %></td>
|
||||
<td><%= time_ago_in_words(record.created_at) %> ago</td>
|
||||
<td><%= time_ago_in_words_tagged(record.created_at) %> ago</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
(<%= post.image_width %>x<%= post.image_height %>)
|
||||
<% end %>
|
||||
</li>
|
||||
<li><strong>Uploader</strong>: <%= link_to(post.uploader.name, user_path(post.uploader_id)) %> <%= time_ago_in_words(post.created_at) %> ago</li>
|
||||
<li><strong>Uploader</strong>: <%= link_to(post.uploader.name, user_path(post.uploader_id)) %> <%= time_ago_in_words_tagged(post.created_at) %> ago</li>
|
||||
<% if post.is_flagged? %>
|
||||
<li><strong>Flagged</strong>: <%= post_flag_reasons(post) %></li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user