X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a734789218122d8ab0d8f766bac4d69c04db91bf..0f644e242ef37c911ad3dc25aca8135c339de349:/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb diff --git a/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb b/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb index fd79535517..b698c938a1 100644 --- a/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb +++ b/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb @@ -1,10 +1,48 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% if @object.state == 'Final' %> - <%= link_to(copy_container_request_path('id' => @object.uuid), - class: 'btn btn-sm btn-primary', - title: 'Re-run', - data: {toggle: :tooltip, placement: :top}, title: 'This will make a copy and take you there. You can then make any needed changes and run it', - method: :post, - ) do %> - Re-run - <% end %> + + + <%= link_to raw(' Re-run...'), + "#", + {class: 'btn btn-sm btn-primary', 'data-toggle' => 'modal', + 'data-target' => '#clone-and-edit-modal-window', + title: 'This will make a copy and take you there. You can then make any needed changes and run it'} %> + + + <% end %>