X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/579300424ef50990ff9414f2eabf8f371f278d99..45ff1f04cf0a562b870e18ca13b02d914db6bcb3:/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..96b73979eb 100644
--- a/apps/workbench/app/views/collections/_index_tbody.html.erb
+++ b/apps/workbench/app/views/collections/_index_tbody.html.erb
@@ -1,6 +1,9 @@
<% @collections.each do |c| %>
+
+ <%= render :partial => "selection_checkbox", :locals => {:object => c} %>
+ |
<%= link_to_if_arvados_object c.uuid %>
|
@@ -20,16 +23,6 @@
<%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about ','~').sub(' ',' ')) if c.created_at %>
|
-
-
- <% if @collection_info[c.uuid] %>
- <% @collection_info[c.uuid][:tags].uniq.each do |tag| %>
- <%= tag %> ×
- <% end %>
- <% end %>
-
- Add
- |
<% if @collection_info[c.uuid][:wanted_by_me] %>
2×
@@ -39,6 +32,20 @@
cache
<% end %>
|
+
+ Add
+
+ <% if @collection_info[c.uuid] %>
+ <% @collection_info[c.uuid][:tag_links].each do |tag_link| %>
+ <%= tag_link.name %>
+ <% if tag_link.owner_uuid == current_user.uuid %>
+
+ <% end %>
+
+ <% end %>
+ <% end %>
+
+ |
<% end %>