add ubiquitous time tags

This commit is contained in:
albert
2013-01-22 15:28:12 -05:00
parent c163139390
commit 9e6a25f844
16 changed files with 19 additions and 15 deletions

View File

@@ -14,7 +14,7 @@
<% @janitor_trials.each do |janitor_trial| %>
<tr>
<td><%= link_to janitor_trial.user.name, user_path(janitor_trial.user) %></td>
<td><%= time_ago_in_words janitor_trial.created_at %></td>
<td><%= time_ago_in_words_tagged janitor_trial.created_at %></td>
<td>
<%= link_to "Promote", promote_janitor_trial_path(janitor_trial), :remote => true, :method => :put %>
| <%= link_to "Demote", demote_janitor_trial_path(janitor_trial), :remote => true, :method => :put %>