1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

Adds CSS class for closed subprojects on project overview (#23152).

git-svn-id: http://svn.redmine.org/redmine/trunk@15585 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-06-28 19:15:30 +00:00
parent 48c1cbe69b
commit b6982e755b

View File

@ -95,7 +95,7 @@
<% if @subprojects.any? %>
<div class="projects box">
<h3><%=l(:label_subproject_plural)%></h3>
<%= @subprojects.collect{|p| link_to p, project_path(p)}.join(", ").html_safe %>
<%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %>
</div>
<% end %>