3381: Merge job_status_label and job_progress into a single job_progress
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_recent.html.erb
index 0b78e07d65e875facfee37ee65fba34ad76847e1..f918e24e9dbab740b8a6300cfdcbe3a94ad0c2fc 100644 (file)
@@ -1,10 +1,3 @@
-<%= content_for :tab_line_buttons do %>
-<%= form_tag({action: 'compare', controller: params[:controller], method: 'get'}, {method: 'get', id: 'compare', class: 'pull-right small-form-margin'}) do |f| %>
-  <%= submit_tag 'Compare 2 or 3 selected', {class: 'btn btn-primary', disabled: true, style: 'display: none'} %>
-  &nbsp;
-<% end rescue nil %>
-<% end %>
-
 <%= render partial: "paging", locals: {results: @objects, object: @object} %>
 
 <%= form_tag do |f| %>
@@ -63,7 +56,7 @@
       <td style="border-top: 0; opacity: 0.5;" colspan="6">
         <% ob.components.each do |cname, c| %>
           <% if c.is_a?(Hash) and c[:job] %>
-            <%= render partial: "job_status_label", locals: {:j => c[:job], :title => cname.to_s } %>
+            <%= render partial: "job_progress", locals: {:j => c[:job], :title => cname.to_s, :show_progress_bar => false } %>
           <% else %>
             <span class="label label-default"><%= cname.to_s %></span>
           <% end %>