2 <%= project_link_to.call({object: current_user, depth: 0}) do %>
3 <span style="padding-left: 0">Home</span>
6 <% my_project_tree.each do |pnode| %>
7 <% next if pnode[:object].class != Group %>
9 <%= project_link_to.call pnode do %>
10 <span style="padding-left: <%= pnode[:depth] %>em"></span><%= pnode[:object].name %>
14 <li class="divider" />
15 <li role="presentation" class="dropdown-header">
16 Projects shared with me
18 <% shared_project_tree.each do |pnode| %>
19 <% next if pnode[:object].class != Group %>
21 <%= project_link_to.call pnode do %>
22 <span style="padding-left: <%= pnode[:depth]-1 %>em"></span><i class="fa fa-fw fa-share-alt" style="color:#aaa"></i> <%= pnode[:object].name %>