X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3e443d57aaecd34e63a8d861c7075ab7b0f61174..b52138614767c47770e871b5fa9d4ae9700e26ba:/apps/workbench/app/views/layouts/body.html.erb?ds=sidebyside
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index ded802bd71..5cfa2ca373 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -18,112 +18,93 @@
<% if current_user %>
-
-
-
-
-
-
-
+ <% if current_user.is_active %>
+
+
+
+ <% end %>
- <% if current_user.is_active %>
-
-
+ <% end %>
<% else %>
Log in
<% end %>
@@ -137,13 +118,13 @@
<%= 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.fullpath, action_method: 'post'),
- {class: 'report-issue-modal-window', 'data-toggle' => "modal", 'data-target' => '#report-issue-modal-window', :remote => true, return_to: request.url} do %>
+ <%= 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.fullpath, action_method: 'post'),
- {class: 'report-issue-modal-window', 'data-toggle' => "modal", 'data-target' => '#report-issue-modal-window', :remote => true, return_to: request.url} do %>
+ <%= 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 %>
@@ -167,20 +148,20 @@
Projects
-