<% starred_projects = my_starred_projects current_user%>
<% if starred_projects.andand.any? %>
<% writable_projects = starred_projects.select(&:editable?) %>
<% writable_projects.each do |projectnode| %>
<% row_name = projectnode.friendly_link_name || 'New project' %>
<%= row_name %>
<% end %>
<% end %>
<% my_projects = my_wanted_projects_tree(current_user) %>
<% my_projects[0].each do |projectnode| %>
<% if projectnode[:object].uuid == current_user.uuid
row_name = "Home"
else
row_name = projectnode[:object].friendly_link_name || 'New project'
end %>
<%= row_name %>
<% end %>
<% if my_projects[1] or my_projects[2] or my_projects[0].size > 200 %>
Some of your projects are omitted. Add projects of interest to favorites.
<% end %>