X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/430d4da65c609d1fde6e3cd428e7591b58cfd9e9..497ea8e6fd12ce91cad108af78df5e3802a79d69:/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb b/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb index bfb3dc840e..e9a01dc253 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb @@ -5,17 +5,19 @@ <% end rescue nil %> <% end %> +<%= render partial: "paging", locals: {results: @objects, object: @object} %> + <%= form_tag do |f| %> - + + - - - + + @@ -24,12 +26,13 @@ Status @@ -39,14 +42,10 @@ - - @@ -81,6 +77,8 @@ <% end %> +<%= render partial: "paging", locals: {results: @objects, object: @object} %> + <% content_for :footer_js do %> var showhide_compare = function() { var form = $('form#compare')[0];
Instance - + Template Owner Age +
- <%= check_box_tag 'uuids[]', ob.uuid, false %> + <%= check_box_tag 'uuids[]', ob.uuid, false, :class => 'persistent-selection' %> - <% if ob.success %> - success - <% elsif ob.active %> - active - <% end %> - + <%= render partial: 'pipeline_status_label', locals: {:p => ob} %> + <%= link_to_if_arvados_object ob, friendly_name: true %> <%= link_to_if_arvados_object ob.pipeline_template_uuid, friendly_name: true %> @@ -54,23 +53,20 @@ <%= link_to_if_arvados_object ob.owner_uuid, friendly_name: true %> <%= distance_of_time_in_words(ob.created_at, Time.now) %> + + <%= render partial: 'delete_object_button', locals: {object:ob} %>
+ + <% ob.components.each do |cname, c| %> - <% status = if !(c.is_a?(Hash) && c[:job].is_a?(Hash)) - nil - elsif c[:job][:success] - 'success' - elsif c[:job][:running] - 'info' - else - 'warning' - end %> - <%= cname.to_s %> + <% if c[:job] %> + <%= render partial: "job_status_label", locals: {:j => c[:job], :title => cname.to_s } %> + <% else %> + <%= cname.to_s %> + <% end %> <% end %>