X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/783343e5aca00f730315d943cecf74e4277a38e7..3270fbf5a3cbd121dad7327513d5a5866c3583c4:/apps/workbench/app/views/collections/_index_tbody.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/collections/_index_tbody.html.erb b/apps/workbench/app/views/collections/_index_tbody.html.erb index deba78e47b..25d8796b41 100644 --- a/apps/workbench/app/views/collections/_index_tbody.html.erb +++ b/apps/workbench/app/views/collections/_index_tbody.html.erb @@ -1,4 +1,4 @@ -<% @collections.each do |c| %> +<% @objects.each do |c| %> @@ -26,11 +26,7 @@ <% end %> - <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about ','~').sub(' ',' ')) if c.created_at %> - - - <% current_state = @collection_info[c.uuid][:wanted_by_me] ? 'persistent' : 'cache' %> - <%= render partial: 'toggle_persist', locals: { uuid: c.uuid, current_state: current_state } %> + <%= c.created_at.to_s if c.created_at %>  Add