1 <%# Work unit status %>
7 This <%= wu.title %> is paused. Children that are already running
8 will continue to run, but no new processes will be submitted.
12 <%= raw(wu.show_runtime) %>
14 <%# Need additional handling for main object display %>
15 <% if @object.uuid == wu.uuid %>
16 <div class="col-md-3">
17 <% if wu.is_running? and wu.child_summary_str %>
18 <%= wu.child_summary_str %>
21 <div class="col-md-3">
22 <%= render partial: 'work_units/progress', locals: {wu: wu} %>
24 <div class="col-md-2">
25 <% if wu.can_cancel? and @object.editable? %>
26 <%= form_tag "#{wu.uri}/cancel", remote: true, style: "display:inline; padding-left: 1em" do |f| %>
27 <%= hidden_field_tag :return_to, url_for(@object) %>
28 <%= button_tag "Cancel", {class: 'btn btn-xs btn-warning', id: "cancel-obj-button"} %>
36 <%= render(partial: 'work_units/component_detail', locals: {current_obj: wu}) %>
39 <%# Work unit children %>
40 <% if wu.has_unreadable_children %>
41 <%= render(partial: "pipeline_instances/show_components_json",
42 locals: {error_name: "Unreadable components", backtrace: nil, wu: wu}) %>
44 <% wu.children.each do |c| %>
45 <%= render(partial: 'work_units/show_child', locals: {current_obj: c, i: (c.uuid || rand(2**128).to_s(36)), expanded: false}) %>