X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/120a2268606d73317ab2353d79c3046017300f81..b9b4502bcddeccd794614bf6979d643f9f350877:/apps/workbench/app/views/work_units/_show_component.html.erb diff --git a/apps/workbench/app/views/work_units/_show_component.html.erb b/apps/workbench/app/views/work_units/_show_component.html.erb index 8f0c2d71ea..ff9139221a 100644 --- a/apps/workbench/app/views/work_units/_show_component.html.erb +++ b/apps/workbench/app/views/work_units/_show_component.html.erb @@ -4,8 +4,8 @@
<% if wu.is_paused? %>

- This <%= wu.title %> is paused. Children that are already running - will continue to run, but no new processes will be submitted. + This <%= wu.title %> is paused. Children that were running + were cancelled and no new processes will be submitted.

<% end %> @@ -23,9 +23,10 @@
<% if wu.can_cancel? and @object.editable? %> + <% confirm = if wu.confirm_cancellation then {confirm: wu.confirm_cancellation} else {} end %> <%= form_tag "#{wu.uri}/cancel", remote: true, style: "display:inline; padding-left: 1em" do |f| %> <%= hidden_field_tag :return_to, url_for(@object) %> - <%= button_tag "Cancel", {class: 'btn btn-xs btn-danger', id: "cancel-obj-button"} %> + <%= button_tag "Cancel", {class: 'btn btn-xs btn-warning', id: "cancel-obj-button", data: confirm} %> <% end %> <% end %>