<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.admin? %> <%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> | <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>

<%=l(:label_project_plural)%>

<% @project_tree.keys.sort.each do |project| %>

<%= link_to h(project.name), {:action => 'show', :id => project}, :class => (User.current.member_of?(project) ? "icon icon-fav" : "") %>

<%= textilizable(project.short_description, :project => project) %> <% if @project_tree[project].any? %>

<%= l(:label_subproject_plural) %>: <%= @project_tree[project].sort.collect {|subproject| link_to(h(subproject.name), {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : ""))}.join(', ') %>

<% end %> <% end %> <% if User.current.logged? %>

<%= l(:label_my_projects) %>

<% end %>

<%= l(:label_export_to) %> <%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %>

<% html_title(l(:label_project_plural)) -%>