You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

list.rhtml 1017B

12345678910111213141516171819202122232425
  1. <div class="contextual">
  2. <%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> |
  3. <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
  4. </div>
  5. <h2><%=l(:label_project_plural)%></h2>
  6. <% @project_tree.keys.sort.each do |project| %>
  7. <h3><%= link_to h(project.name), {:action => 'show', :id => project}, :class => (User.current.member_of?(project) ? "icon icon-fav" : "") %></h3>
  8. <%= textilizable(project.short_description, :project => project) %>
  9. <% if @project_tree[project].any? %>
  10. <p><%= l(:label_subproject_plural) %>:
  11. <%= @project_tree[project].sort.collect {|subproject|
  12. link_to(h(subproject.name), {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : ""))}.join(', ') %></p>
  13. <% end %>
  14. <% end %>
  15. <% if User.current.logged? %>
  16. <div class="contextual">
  17. <span class="icon icon-fav"><%= l(:label_my_projects) %></span>
  18. </div>
  19. <% end %>
  20. <% html_title(l(:label_project_plural)) -%>