X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cfcfa1c48d95a07bb961baeef8d7658ddecce41e..72e22b49ec2721d3a1369da768d3d74fa9c079c3:/apps/workbench/app/views/application/_show_recent.html.erb diff --git a/apps/workbench/app/views/application/_show_recent.html.erb b/apps/workbench/app/views/application/_show_recent.html.erb index dd6876d575..8712c0a7c3 100644 --- a/apps/workbench/app/views/application/_show_recent.html.erb +++ b/apps/workbench/app/views/application/_show_recent.html.erb @@ -8,8 +8,6 @@ <% attr_blacklist = ' created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at owner_uuid group_class properties' %> -<% show_home_link = current_user.is_admin and controller.model_class == User %> - <%= render partial: "paging", locals: {results: objects, object: @object} %> <%= form_tag do |f| %> @@ -27,11 +25,9 @@ <%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %> <% end %> - <% if show_home_link %> - - - - <% end %> + + + @@ -60,11 +56,9 @@ <% end %> <% end %> - <% if show_home_link %> - - <%= link_to 'Home', "/projects/#{object.uuid}" %> - - <% end %> + + <%= render partial: 'show_home_button', locals: {object:object} %> + <%= render partial: 'delete_object_button', locals: {object:object} %>