X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/183bdcd6c6b2c54f8f2558fbdb6bec974c1d16e4..ae8ed6d9d0e5231379564beedc08c812352b7043:/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 3f95be35de..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 %>
@@ -138,12 +123,12 @@
<%= 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 %>
+ {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 %>
+ {class: 'report-issue-modal-window', remote: true, return_to: request.url} do %>
Report a problem ...
<% end %>
@@ -167,20 +152,20 @@
Projects
-