X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7024cc159936593350aaf7939d700102f6510787..d585a31fb1a2b2c4964ff2c8928a42358e8a060f:/apps/workbench/app/views/collections/_index_tbody.html.erb diff --git a/apps/workbench/app/views/collections/_index_tbody.html.erb b/apps/workbench/app/views/collections/_index_tbody.html.erb index a34b213e5a..3d5c1c7a58 100644 --- a/apps/workbench/app/views/collections/_index_tbody.html.erb +++ b/apps/workbench/app/views/collections/_index_tbody.html.erb @@ -2,7 +2,16 @@ - <%= link_to_if_arvados_object c.uuid %> + <% friendly_name = c.friendly_link_name %> + <% @collection_info[c.uuid][:tag_links].each do |tag_link| %> + <% friendly_name += raw(" #{tag_link.name}") %> + <% end %> + <%= render :partial => "selection_checkbox", :locals => {:object => c, :friendly_name => friendly_name} %> + + <%= render :partial => "show_object_button", :locals => {object: c, size: 'xs'} %> + + + <%= c.uuid %> <% i = 0 %> @@ -16,28 +25,22 @@ ⋮ <% end %> - <%= link_to_if_arvados_object c.owner_uuid, friendly_name: true %> - <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about ','~').sub(' ',' ')) if c.created_at %> + <%= c.created_at.to_s if c.created_at %> - +  Add + <% if @collection_info[c.uuid] %> - <% @collection_info[c.uuid][:tags].uniq.each do |tag| %> - <%= tag %> ×
+ <% @collection_info[c.uuid][:tag_links].each do |tag_link| %> + <%= tag_link.name %> + <% if tag_link.owner_uuid == current_user.uuid %> +   + <% end %> +   <% end %> <% end %>
-  Add - - - <% if @collection_info[c.uuid][:wanted_by_me] %> - - <% elsif @collection_info[c.uuid][:wanted] %> - - <% else %> - cache - <% end %>