20690: Remove workbench1 and testing/packaging references.
[arvados.git] / 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
deleted file mode 100644 (file)
index ae9e3c7..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<% 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"),
-      class: 'btn btn-primary',
-      title: 'Re-run with latest options',
-      #data: {toggle: :tooltip, placement: :top}, title: 'Re-run',
-      method: :post,
-      ) do %>
-    <i class="fa fa-fw fa-play"></i> Re-run with latest
-  <% end %>
-
-  <%= link_to raw('<i class="fa fa-fw fa-cogs"></i> Re-run options...'),
-      "#",
-      {class: 'btn btn-primary', 'data-toggle' =>  "modal",
-        'data-target' => '#clone-and-edit-modal-window',
-        title: 'Re-run with options'}  %>
-  <% end %>
-
-  <% if @object.state.in? ['New', 'Ready'] %>
-    <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'),
-        class: 'btn btn-primary run-pipeline-button',
-        title: 'Run this pipeline',
-        method: :patch
-        ) do %>
-      <i class="fa fa-fw fa-play"></i> Run
-    <% end %>
-  <% else %>
-    <% if @object.state.in? ['RunningOnClient', 'RunningOnServer'] %>
-      <%= link_to(cancel_pipeline_instance_path,
-          class: 'btn btn-primary run-pipeline-button',
-          title: 'Pause this pipeline',
-          data: {confirm: 'All unfinished child jobs will be canceled, even if they are being used in another job or pipeline. Are you sure you want to pause this pipeline?'},
-          method: :post
-          ) do %>
-        <i class="fa fa-fw fa-pause"></i> Pause
-      <% end %>
-    <% elsif @object.state == 'Paused' %>
-      <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'),
-          class: 'btn btn-primary run-pipeline-button',
-          title: 'Resume this pipeline',
-          method: :patch
-          ) do %>
-        <i class="fa fa-fw fa-play"></i> Resume
-      <% end %>
-    <% end %>
-  <% end %>
-<% end %>