From: Tom Clegg Date: Thu, 18 Dec 2014 15:14:59 +0000 (-0500) Subject: Merge branch '4515-search-empty-project' closes #4515 X-Git-Tag: 1.1.0~1915 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/70ffabfafec877a79cfd4ab5e4fb5831e37068fa?hp=1c9e7c47db6d2823939f4aa8021ec47d15c1522f Merge branch '4515-search-empty-project' closes #4515 --- diff --git a/apps/workbench/app/assets/stylesheets/application.css.scss b/apps/workbench/app/assets/stylesheets/application.css.scss index 51d4702485..9bc93e32bd 100644 --- a/apps/workbench/app/assets/stylesheets/application.css.scss +++ b/apps/workbench/app/assets/stylesheets/application.css.scss @@ -204,6 +204,11 @@ table.table-fixed-header-row tbody { top:1.5em; } +.dropdown-menu { + max-height: 30em; + overflow-y: auto; +} + .row-fill-height, .row-fill-height>div[class*='col-'] { display: flex; } diff --git a/apps/workbench/app/views/application/_projects_tree_menu.html.erb b/apps/workbench/app/views/application/_projects_tree_menu.html.erb index 4a49184aaf..4de3c2330e 100644 --- a/apps/workbench/app/views/application/_projects_tree_menu.html.erb +++ b/apps/workbench/app/views/application/_projects_tree_menu.html.erb @@ -1,30 +1,25 @@ -
  • - <%= link_to projects_path(options: {ensure_unique_name: true}), method: :post, class: 'btn btn-xs btn-default pull-right' do %> - Add a new project - <% end %> -
  • -
  • - <%= project_link_to.call({object: current_user, depth: 0}) do %> - Home - <% end %> -
  • - <% my_project_tree.each do |pnode| %> - <% next if pnode[:object].class != Group %> -
  • - <%= project_link_to.call pnode do %> - <%= pnode[:object].name %> - <% end %> -
  • - <% end %> -
  • -
  • - <% shared_project_tree.each do |pnode| %> - <% next if pnode[:object].class != Group %> -
  • - <%= project_link_to.call pnode do %> - <%= pnode[:object].name %> - <% end %> -
  • - <% end %> +
  • + <%= project_link_to.call({object: current_user, depth: 0}) do %> + Home + <% end %> +
  • +<% my_project_tree.each do |pnode| %> + <% next if pnode[:object].class != Group %> +
  • + <%= project_link_to.call pnode do %> + <%= pnode[:object].name %> + <% end %> +
  • +<% end %> +
  • +
  • +<% shared_project_tree.each do |pnode| %> + <% next if pnode[:object].class != Group %> +
  • + <%= project_link_to.call pnode do %> + <%= pnode[:object].name %> + <% end %> +
  • +<% end %> diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb index 07b536b8e3..824e370c58 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -45,15 +45,11 @@ <%= current_user.email %>