X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e824ef364a6efd3c02bce159973f4098d794865c..7eec2f46099c6bf913149a7d19c4903feb2bf835:/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 bedcf8846e..fb28efe1d4 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -18,112 +18,92 @@ <% 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 %> @@ -137,14 +117,14 @@
  • <%= 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 %> - Show version / debugging info +
  • <%= 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 %> - Report a problem +
  • <%= 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 +147,20 @@ Projects -