mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-06 07:31:31 +00:00
Hide empty ul on project overview (#21159).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@14797 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
945a091c94
commit
03f059e3ba
@ -23,6 +23,7 @@
|
||||
<%= textilizable @project.description %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if @project.homepage.present? || @subprojects.any? || @project.visible_custom_field_values.any?(&:present?) %>
|
||||
<ul>
|
||||
<% unless @project.homepage.blank? %>
|
||||
<li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to @project.homepage, @project.homepage %></li>
|
||||
@ -35,6 +36,7 @@
|
||||
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<% if User.current.allowed_to?(:view_issues, @project) %>
|
||||
<div class="issues box">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user