X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/425f97db9a84540d608b7717b8df3befce687c8f..1e2e0e4f14a730ba1bbea6a4ced5d87ea2766c35:/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 48f8465727..f87dede2a6 100644 --- a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb @@ -4,7 +4,7 @@
<%# column offset 0 %> - <% end %> - <% 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| %>