summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-28 19:15:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-28 19:15:30 +0000
commitb6982e755b52b6b448001d4d55fdb71550af84a7 (patch)
tree39fa025e84b55fe538782b2f74fdf7a55795fc7b /app
parent48c1cbe69b63d712f0abdd56a43465558b49677d (diff)
downloadredmine-b6982e755b52b6b448001d4d55fdb71550af84a7.tar.gz
redmine-b6982e755b52b6b448001d4d55fdb71550af84a7.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index 3e384530c..b68a5ac26 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -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 %>