X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6b972e1753c0606eade16e98c32f8da2f7678652..f102390c598ec819f31fdccc603f19c39eb9e1c8:/apps/workbench/app/views/pipeline_instances/_running_component.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb index 754629e048..f87dede2a6 100644 --- a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb @@ -75,8 +75,7 @@ <% end %> - <% if current_user.is_active %> - <% if current_job[:state].in? ["Queued", "Running"] %> + <% if current_job[:state].in? ["Queued", "Running"] and @object.editable? %> <%# column offset 11 %>
<%= form_tag "/jobs/#{current_job[:uuid]}/cancel", remote: true, style: "display:inline; padding-left: 1em" do |f| %> @@ -85,7 +84,6 @@ <% end %>
<% end %> - <% end %> <% end %>