X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c96db8766d22832ac19d260377d0fa747a657dd1..7178ac911e7b160c1348da404b5aa07b9829d3c8:/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 55c9d81498..3fc0c92fcd 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -18,106 +18,110 @@ <% if current_user %> -
  • - -
  • - - - - + <% if current_user.is_active %> +
  • + +
  • + <% end %> - <% if current_user.is_active %> - + + + + <% if current_user.is_admin %> + - <% end %> +
  • + Groups +
  • +
  • + Compute nodes +
  • +
  • + Keep services +
  • +
  • + Keep disks +
  • + + + <% end %> <% else %>
  • Log in
  • <% end %> @@ -130,6 +134,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 %> +
  • @@ -141,13 +156,10 @@ - <% 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 %> @@ -189,3 +211,4 @@ <%= yield :footer_html %> +