From: Peter Amstutz Date: Thu, 6 Feb 2014 15:37:03 +0000 (-0500) Subject: Fixed up some glyphicons X-Git-Tag: 1.1.0~2722^2~17^2~4 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/dcd5dad4a40baef826270f43ae80d7b39a3b9113 Fixed up some glyphicons --- diff --git a/apps/workbench/app/views/application/_recent.html.erb b/apps/workbench/app/views/application/_recent.html.erb index 6ea381868e..86b6b049f9 100644 --- a/apps/workbench/app/views/application/_recent.html.erb +++ b/apps/workbench/app/views/application/_recent.html.erb @@ -46,7 +46,7 @@ <% if object.editable? %> <%= link_to({action: 'destroy', id: object.uuid}, method: :delete, remote: true, data: {confirm: "You are about to delete #{controller.model_class} #{object.uuid}.\n\nAre you sure?"}) do %> - + <% end %> <% end %> diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb index b7f4ad318b..2e2fb84882 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -160,7 +160,8 @@ <% [['Data', [['humans'], ['traits'], ['specimens'], - ['collections', 'Files']]], + ['collections', 'Files'], + ['links']]], ['Compute', [['pipeline_templates', 'Pipelines'], ['repositories', 'Code repositories'], ['virtual_machines']]], diff --git a/apps/workbench/app/views/links/_recent.html.erb b/apps/workbench/app/views/links/_recent.html.erb index 76e959a243..7548ae111f 100644 --- a/apps/workbench/app/views/links/_recent.html.erb +++ b/apps/workbench/app/views/links/_recent.html.erb @@ -38,7 +38,7 @@ <% if current_user and (current_user.is_admin or current_user.uuid == link.owner_uuid) %> - <%= link_to raw(''), { action: 'destroy', id: link.uuid }, { confirm: 'Delete this link?', method: 'delete' } %> + <%= link_to raw(''), { action: 'destroy', id: link.uuid }, { confirm: 'Delete this link?', method: 'delete' } %> <% end %> diff --git a/apps/workbench/app/views/pipeline_instances/_recent.html.erb b/apps/workbench/app/views/pipeline_instances/_recent.html.erb index 481d276e30..ef394e8c86 100644 --- a/apps/workbench/app/views/pipeline_instances/_recent.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_recent.html.erb @@ -58,12 +58,6 @@ <%= ob.created_at %> - - <% if ob.editable? %> - <%= link_to({action: 'destroy', id: ob.uuid}, method: :delete, remote: true, data: {confirm: "You are about to delete #{controller.model_class} #{ob.uuid}.\n\nAre you sure?"}) do %> - - <% end %> - <% end %>