From 03f059e3ba9836bb67eed749cefe441506ca6397 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Nov 2015 08:04:20 +0000 Subject: 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 --- app/views/projects/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 006f84b26..82b43bc24 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -23,6 +23,7 @@ <%= textilizable @project.description %> <% end %> + <% if @project.homepage.present? || @subprojects.any? || @project.visible_custom_field_values.any?(&:present?) %> + <% end %> <% if User.current.allowed_to?(:view_issues, @project) %>
-- cgit v1.2.3