X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a3222e35cda68c8e48a17921c33ac37ecb5c3bac..d16e54da7e751807685f576d089d69417c9094b0:/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 4c58daba70..fbbd0fac26 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -7,7 +7,12 @@
- <%= Rails.configuration.site_name.downcase rescue Rails.application.class.parent_name %>
+ <% site_name = Rails.configuration.site_name.downcase rescue Rails.application.class.parent_name %>
+ <% if current_user %>
+ <%= site_name %>
+ <% else %>
+ <%= site_name %>
+ <% end %>
@@ -18,112 +23,92 @@
<% if current_user %>
-
-
-
-
-
-
-
+ <% if current_user.is_active %>
+
+
+
+ <% end %>
- <% if current_user.is_active %>
-
-
+ <% end %>
<% else %>
Log in
<% end %>
@@ -136,6 +121,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 %>
+
@@ -156,20 +152,20 @@
Projects
-