diff options
author | Go MAEDA <maeda@farend.jp> | 2019-04-23 15:37:06 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-04-23 15:37:06 +0000 |
commit | e184fc971dad9dc4ffc9e2a673bce87a4ed5618e (patch) | |
tree | b5196b2438faeb1e8f4ac4389117beb4e55b7dcc /app/views/projects/show.html.erb | |
parent | a886d774c916ad7f47dc70d4939c31b4b2d57b54 (diff) | |
download | redmine-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.erb | 6 |
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 %> |