Project

General

Profile

Patch #29289 » change_view_to_unordered_list.diff

Bernhard Rohloff, 2018-07-29 13:41

View differences:

app/views/projects/show.html.erb
111 111
  <% if @subprojects.any? %>
112 112
  <div class="projects box">
113 113
    <h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
114
    <%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %>
114
	<ul class="subprojects">
115
	  <% @subprojects.each do |project| %>
116
	  <li><%= link_to(project.name, project_path(project), :class => project.css_classes).html_safe %></li>
117
	  <% end %> 
118
    </ul>
115 119
  </div>
116 120
  <% end %>
117 121

  
(2-2/4)