3610: Move live log display into its own tab, avoid clobbering with tab reload.
[arvados.git] / apps / workbench / app / views / collections / _choose_rows.html.erb
index 650a8c88e9f47064a4fdc1c00fd7e4efb8f8ffad..8079eb44a6593563eb67705947acd784b4e0e594 100644 (file)
@@ -1,17 +1,15 @@
 <% @name_links.each do |name_link| %>
   <% if (object = get_object(name_link.head_uuid)) %>
-    <div class="row filterable selectable <%= 'multiple' if multiple %>" data-object-uuid="<%= name_link.uuid %>">
-      <div class="col-sm-12" style="overflow-x:hidden">
-        <i class="fa fa-fw fa-archive"></i>
-        <%= name_link.name %>
-      </div>
-      <div class="col-sm-11 col-sm-push-1" style="overflow-x: hidden">
-        <%= render_controller_partial(
-            'show_object_description_cell.html',
-            controller_name: 'collections',
-            locals: {object: object})
-            %>
-      </div>
+    <div class="row filterable selectable" data-object-uuid="<%= name_link.uuid %>"
+         data-preview-href="<%= chooser_preview_url_for object %>"
+         style="margin-left: 1em; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #DDDDDD">
+      <i class="fa fa-fw fa-archive"></i>
+      <%= name_link.name %>
+      <% links_for_object(object).each do |tag| %>
+        <% if tag.link_class == 'tag' %>
+          <span class="label label-info"><%= tag.name %></span>
+        <% end %>
+      <% end %>
     </div>
   <% end %>
 <% end %>