mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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
This commit is contained in:
@@ -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 %>
|
||||
|
||||
|
||||
@@ -639,6 +639,10 @@ ul.projects div.description li {list-style-type:initial;}
|
||||
|
||||
#notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
|
||||
|
||||
ul.subprojects {list-style: none; display: inline-block; padding: 0; margin: 0;}
|
||||
ul.subprojects li {float: left;}
|
||||
ul.subprojects li:not(:last-child)::after {content: ', '; white-space: pre; white-space: pre;}
|
||||
|
||||
#related-issues li img {vertical-align:middle;}
|
||||
|
||||
ul.properties {padding:0; font-size: 0.9em; color: #777;}
|
||||
|
||||
Reference in New Issue
Block a user