From 05950199581d67d3bd11e52a6bab6eea537804f3 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 13 Mar 2013 16:25:08 -0400 Subject: [PATCH] change relative times to absolute on listings --- app/views/artist_versions/index.html.erb | 2 +- app/views/janitor_trials/index.html.erb | 2 +- app/views/notes/index_by_note.html.erb | 2 +- app/views/pool_versions/index.html.erb | 2 +- app/views/uploads/index.html.erb | 2 +- app/views/users/index.html.erb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/artist_versions/index.html.erb b/app/views/artist_versions/index.html.erb index 5c24accf7..17857ebbe 100644 --- a/app/views/artist_versions/index.html.erb +++ b/app/views/artist_versions/index.html.erb @@ -25,7 +25,7 @@ <%= link_to "artist", artist_path(artist_version.artist) %> <%= artist_version.other_names %> <%= artist_version.group_name %> - <%= time_ago_in_words_tagged artist_version.created_at %> + <%= compact_time artist_version.created_at %> <%= link_to artist_version.updater_name, user_path(artist_version.updater_id) %> <%= artist_version.is_active? %> diff --git a/app/views/janitor_trials/index.html.erb b/app/views/janitor_trials/index.html.erb index 514f9cc37..d172b6693 100644 --- a/app/views/janitor_trials/index.html.erb +++ b/app/views/janitor_trials/index.html.erb @@ -14,7 +14,7 @@ <% @janitor_trials.each do |janitor_trial| %> <%= link_to janitor_trial.user.name, user_path(janitor_trial.user) %> - <%= time_ago_in_words_tagged janitor_trial.created_at %> + <%= compact_time janitor_trial.created_at %> <%= 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 %> diff --git a/app/views/notes/index_by_note.html.erb b/app/views/notes/index_by_note.html.erb index 4a95c622d..ecc838d6a 100644 --- a/app/views/notes/index_by_note.html.erb +++ b/app/views/notes/index_by_note.html.erb @@ -17,7 +17,7 @@ <%= link_to note.post_id, post_path(note.post_id) %> <%= link_to note.creator.name, user_path(note.creator_id) %> - <%= time_ago_in_words_tagged(note.created_at) %> + <%= compact_time(note.created_at) %> <%= note.is_active? %> <%= format_text(note.body) %> diff --git a/app/views/pool_versions/index.html.erb b/app/views/pool_versions/index.html.erb index 054bfc3cf..4f4c81d51 100644 --- a/app/views/pool_versions/index.html.erb +++ b/app/views/pool_versions/index.html.erb @@ -26,7 +26,7 @@ <%= pool_version.updater_ip_addr %> <% end %> - <%= time_ago_in_words_tagged pool_version.updated_at %> + <%= compact_time pool_version.updated_at %> <%= link_to "Revert", revert_pool_path(pool_version.pool_id, :version => pool_version.id) %> <% end %> diff --git a/app/views/uploads/index.html.erb b/app/views/uploads/index.html.erb index a7e79e7d6..78fce8c61 100644 --- a/app/views/uploads/index.html.erb +++ b/app/views/uploads/index.html.erb @@ -16,7 +16,7 @@ <%= link_to upload.id, upload_path(upload) %> <%= link_to upload.uploader.name, user_path(upload.uploader) %> <%= upload.presenter.status(self) %> - <%= time_ago_in_words_tagged upload.created_at %> + <%= compact_time upload.created_at %> <%= upload.tag_string %> <% end %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index a5a06f252..9c37962f7 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -46,7 +46,7 @@ <% end %> <%= link_to user.note_versions.count, note_versions_path(:search => {:updater_id => user.id}) %> <%= user.level_string %> - <%= time_ago_in_words_tagged user.created_at %> + <%= compact_time user.created_at %> <% end %>