X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b3eb8176f8d060b0e4652cae8e041c6bf2b7103e..c99ba4cdc8f6ff0be1847ffe4ec6f791f6b83396:/apps/workbench/app/views/layouts/body.html.erb
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index c703bc7004..3fc0c92fcd 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -18,105 +18,110 @@
<% if current_user %>
-
-
-
- <%= link_to(url_for(
- action: 'choose',
- controller: 'search',
- title: 'Search',
- action_name: 'Show',
- action_href: url_for(controller: :actions, action: :show),
- action_method: 'get',
- action_data: {selection_param: 'uuid', success: 'redirect-to-created-object'}.to_json),
- { class: "", remote: true, method: 'get' }) do %>
- Search
+ <% if current_user.is_active %>
+
+
+
<% end %>
-
-
-
-
-
- <% if current_user.is_active %>
-
-
@@ -140,13 +156,10 @@
- <% project_breadcrumbs.each do |p| %>
+ <% if @name_link or @object %>
- <%= link_to(p.name, project_path(p.uuid), data: {object_uuid: p.uuid, name: 'name'}) %>
+ <%= link_to project_path(current_user.uuid) do %>
+ Home
+ <% end %>
+ <% project_breadcrumbs.each do |p| %>
+
+
+
+
+ <%= link_to(p.name, project_path(p.uuid), data: {object_uuid: p.uuid, name: 'name'}) %>
+
+ <% end %>
<% end %>
@@ -188,3 +211,4 @@
<%= yield :footer_html %>
+