X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/19e913d3b754429be49c38505c249b7b2151a70f..994fa4569b8da43486719ce0da770ab1887b24b9:/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 9282acdfe5..035d147f04 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -18,112 +18,97 @@
<% 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 %>
+
@@ -165,7 +161,7 @@
&block)
end,
:top_button => Proc.new do %>
- <% link_to projects_path, method: 'post', class: 'btn btn-xs btn-default pull-right' do %>
+ <% link_to projects_path, method: :post, class: 'btn btn-xs btn-default pull-right' do %>
New project
<% end %>
<% end %>
@@ -202,3 +198,4 @@
<%= yield :footer_html %>
+