mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01: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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user