2872: Use data chooser for running pipelines. Many presentation fixes.
[arvados.git] / apps / workbench / app / views / application / _show_recent.html.erb
index c36f27ccc74ea35c55eadc877bb784d52f085003..800263f0f42bbabaae4897fbe732c13f64d85477 100644 (file)
@@ -15,7 +15,9 @@
 <table class="table table-condensed arv-index">
   <thead>
     <tr>
-      <th></th>
+      <% if objects.first and objects.first.class.goes_in_folders? %>
+        <th></th>
+      <% end %>
       <th></th>
       <% objects.first.attributes_for_display.each do |attr, attrvalue| %>
       <% next if attr_blacklist.index(" "+attr) %>
   <tbody>
     <% objects.each do |object| %>
     <tr data-object-uuid="<%= object.uuid %>">
-      <td>
-        <%= render :partial => "selection_checkbox", :locals => {:object => object} %>
-      </td>
+      <% if objects.first.class.goes_in_folders? %>
+        <td>
+          <%= render :partial => "selection_checkbox", :locals => {:object => object} %>
+        </td>
+      <% end %>
       <td>
         <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
       </td>