Feature #4210 » show_sub_project_desc_for_0.8.5.diff
| app/views/projects/list.rhtml (working copy) | ||
|---|---|---|
|
<% if @project_tree[project].any? %>
|
||
|
<p><%= 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(', ') %></p>
|
||
|
<ul>
|
||
|
<% @project_tree[project].sort.each do |subproject| %>
|
||
|
<li><%=link_to(h(subproject.name), {:action => 'show', :id => subproject},
|
||
|
:class =>(User.current.member_of?(subproject) ? "icon icon-fav" : "")) %>
|
||
|
- <%= subproject.short_description %>
|
||
|
<% end %>
|
||
|
</ul>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
<% end %>
|
||