X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1f1963df75f584d575fd440206e3ac64064cf06c..d44a5c508cfa664134daad806d7be9a7cb0bd6ee:/apps/workbench/app/views/projects/show.html.erb diff --git a/apps/workbench/app/views/projects/show.html.erb b/apps/workbench/app/views/projects/show.html.erb index a0ae2d3036..cff8bbd9b0 100644 --- a/apps/workbench/app/views/projects/show.html.erb +++ b/apps/workbench/app/views/projects/show.html.erb @@ -32,24 +32,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 %>