X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3c12b6126b87af781058b159332446ee458635af..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 0f4c5fe403..035d147f04 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -18,108 +18,97 @@ <% if current_user %> -
  • - -
  • - - - - + <% if current_user.is_active %> +
  • + +
  • + <% end %> - <% if current_user.is_admin %> - - <% end %> + + <% if current_user.is_admin %> + + <% end %> <% else %>
  • Log in
  • <% end %> @@ -172,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 %>