Feature #4210 » app.views.projects.index.diff
| app/views/projects/index.rhtml Adam Patch | ||
|---|---|---|
| 11 | 11 |
<%= textilizable(project.short_description, :project => project) %> |
| 12 | 12 |
|
| 13 | 13 |
<% if @project_tree[project].any? %> |
| 14 |
<p><%= l(:label_subproject_plural) %>: |
|
| 15 |
<%= @project_tree[project].sort.collect {|subproject|
|
|
| 16 |
link_to(h(subproject.name), {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : ""))}.join(', ') %></p>
|
|
| 14 |
<div style='padding-left:4em;'> |
|
| 15 |
<% @project_tree[project].sort.each do |subproject| %> |
|
| 16 |
<h3><%= link_to h(subproject.name), {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : "") %></h3>
|
|
| 17 |
<%= textilizable(subproject.short_description, :project => subproject) %> |
|
| 18 |
<% end %> |
|
| 19 |
</div> |
|
| 17 | 20 |
<% end %> |
| 18 | 21 |
<% end %> |
| 19 | 22 |
|
- « Previous
- 1
- 2
- Next »