X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b7c8b1cc7d646c99493558ab20d3b313eb7b2d9f..45b556d1a204f694b69ca26d115cd6786ca585f3:/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb b/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb index 38a7c913d4..4ed27346b4 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb @@ -1,3 +1,4 @@ +<% if current_user.andand.is_active %> <% if @object.state.in? ['Complete', 'Failed', 'Cancelled', 'Paused'] %> <%= link_to(copy_pipeline_instance_path('id' => @object.uuid, 'script' => "use_latest", "components" => "use_latest", "pipeline_instance[state]" => "RunningOnServer"), @@ -43,3 +44,4 @@ <% end %> <% end %> <% end %> +<% end %>