summaryrefslogtreecommitdiffstats
path: root/app/views/projects/show.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-23 15:37:06 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-23 15:37:06 +0000
commite184fc971dad9dc4ffc9e2a673bce87a4ed5618e (patch)
treeb5196b2438faeb1e8f4ac4389117beb4e55b7dcc /app/views/projects/show.html.erb
parenta886d774c916ad7f47dc70d4939c31b4b2d57b54 (diff)
downloadredmine-e184fc971dad9dc4ffc9e2a673bce87a4ed5618e.tar.gz
redmine-e184fc971dad9dc4ffc9e2a673bce87a4ed5618e.zip
Wrap subprojects in the overview section with an unordered list (#29289).
Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@18077 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/show.html.erb')
-rw-r--r--app/views/projects/show.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index 9c2d47524..16645b759 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -118,7 +118,11 @@
<% if @subprojects.any? %>
<div class="projects box">
<h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
- <%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %>
+ <ul class="subprojects">
+ <% @subprojects.each do |project| %>
+ <li><%= link_to(project.name, project_path(project), :class => project.css_classes).html_safe %></li>
+ <% end %>
+ </ul>
</div>
<% end %>