Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>
<%= render :partial => "show_object_button", :locals => {object: object, size: 'sm', name_link: name_link} %>
</td>
+ <td>
+ <% if object.respond_to?(:work_unit) %>
+ <% wu = object.work_unit object.name %>
+ <span class="label label-<%=wu.state_bootstrap_class%>">
+ <%=wu.state_label%>
+ </span>
+ <% end %>
+ </td>
+
<td>
<% if object.respond_to?(:name) %>
<%= render_editable_attribute (name_link || object), 'name', nil, {}, {tiptitle: 'rename'} %>
<col width="0*" style="max-width: fit-content;" />
<col width="0*" style="max-width: fit-content;" />
<col width="0*" style="max-width: fit-content;" />
+ <col width="0*" style="max-width: fit-content;" />
<col width="60%" style="width: 60%;" />
<col width="40%" style="width: 40%;" />
</colgroup>
<th></th>
<th></th>
<th></th>
+ <th></th>
<% sort_order = sortable_columns['name'].gsub(/\s/,'') if sortable_columns['name'] %>
<th <% if !sort_order.nil? %>
data-sort-order='<%= sort_order %>'