projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2872: Use data chooser for running pipelines. Many presentation fixes.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_show_recent.html.erb
diff --git
a/apps/workbench/app/views/application/_show_recent.html.erb
b/apps/workbench/app/views/application/_show_recent.html.erb
index c36f27ccc74ea35c55eadc877bb784d52f085003..800263f0f42bbabaae4897fbe732c13f64d85477 100644
(file)
--- a/
apps/workbench/app/views/application/_show_recent.html.erb
+++ b/
apps/workbench/app/views/application/_show_recent.html.erb
@@
-15,7
+15,9
@@
<table class="table table-condensed arv-index">
<thead>
<tr>
<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) %>
<th></th>
<% objects.first.attributes_for_display.each do |attr, attrvalue| %>
<% next if attr_blacklist.index(" "+attr) %>
@@
-32,9
+34,11
@@
<tbody>
<% objects.each do |object| %>
<tr data-object-uuid="<%= object.uuid %>">
<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>
<td>
<%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
</td>