X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b0440160e64caecbff160a26f62301dd15d84c7f..9126da70d57cdd32938c4b3814fedf2bd1f1db93:/apps/workbench/app/views/projects/show.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/projects/show.html.erb b/apps/workbench/app/views/projects/show.html.erb index 2551760ff2..a67f2addf6 100644 --- a/apps/workbench/app/views/projects/show.html.erb +++ b/apps/workbench/app/views/projects/show.html.erb @@ -40,24 +40,6 @@ Add a subproject <% end %> <% end %> - <% if @object.owner_uuid == current_user.uuid or (Group.find(@object.owner_uuid).writable_by.include?(current_user.uuid) rescue nil) %> - <% if @object.uuid != current_user.uuid # Not the "Home" project %> - <%= link_to( - choose_projects_path( - title: 'Move this project to...', - editable: true, - action_name: 'Move', - action_href: project_path(@object.uuid), - action_method: 'put', - action_data: {selection_param: 'project[owner_uuid]', success: 'page-refresh'}.to_json), - { class: "btn btn-sm btn-primary arv-move-to-project", remote: true, method: 'get' }) do %> - Move project... - <% end %> - <%= link_to(project_path(id: @object.uuid), method: 'delete', class: 'btn btn-sm btn-primary', data: {confirm: "Really delete project '#{@object.name}'?"}) do %> - Delete project - <% end %> - <% end %> - <% end %> <% end %> <%= render file: 'application/show.html.erb', locals: local_assigns %>