X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0728458bfd4236fbcfe42a59ccd58754de026bb4..c4916927cdfad0fff3cc8b121405b2518dcabb26:/apps/workbench/app/views/application/_projects_tree_menu.html.erb 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 69f97e404a..a680c69ce3 100644 --- a/apps/workbench/app/views/application/_projects_tree_menu.html.erb +++ b/apps/workbench/app/views/application/_projects_tree_menu.html.erb @@ -1,3 +1,23 @@ +<% starred_projects = my_starred_projects current_user%> +<% if starred_projects.andand.any? %> + +
  • + <%= project_link_to.call({object: current_user, depth: 0}) do %> + Home + <% end %> +
  • + <% (starred_projects).each do |pnode| %> +
  • + <%= project_link_to.call({object: pnode, depth: 0}) do%> + <%= pnode[:name] %> + <% end %> +
  • + <% end %> + +<% end %> +