X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/079d6e0e42bfde5f21bd00e963c3a180d2950f5b..8a504ad561c1ffbafee8a7bc8da551f9d4b9a29e:/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 d9007df5e6..67eba94450 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -18,112 +18,92 @@
<% 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 %>
-
-
+ <% end %>
<% else %>
Log in
<% end %>
@@ -136,6 +116,17 @@
<%= link_to raw(' Tutorials and User guide'), "#{Rails.configuration.arvados_docsite}/user", target: "_blank" %>
<%= link_to raw(' API Reference'), "#{Rails.configuration.arvados_docsite}/api", target: "_blank" %>
<%= link_to raw(' SDK Reference'), "#{Rails.configuration.arvados_docsite}/sdk", target: "_blank" %>
+
+ <%= link_to report_issue_popup_path(popup_type: 'version', current_location: request.url, current_path: request.fullpath, action_method: 'post'),
+ {class: 'report-issue-modal-window', remote: true, return_to: request.url} do %>
+ Show version / debugging info ...
+ <% end %>
+
+ <%= link_to report_issue_popup_path(popup_type: 'report', current_location: request.url, current_path: request.fullpath, action_method: 'post'),
+ {class: 'report-issue-modal-window', remote: true, return_to: request.url} do %>
+ Report a problem ...
+ <% end %>
+
@@ -147,46 +138,55 @@
-
-
- Home
+
+ Dashboard
- -
-
-
-
-
- <% 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 %>
<% end %>
+ <%= render partial: 'browser_unsupported' %><%# requires JS support below %>
+
<%= yield %>
@@ -195,3 +195,5 @@
<%= yield :footer_html %>
+
+