From: Go MAEDA Date: Tue, 25 Aug 2020 07:57:51 +0000 (+0000) Subject: Do not show list for custom fields without list entry on project overview (#33889). X-Git-Tag: 4.2.0~822 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eafb4599a9d630bcaad1c5a040099c57accbfbfe;p=redmine.git Do not show list for custom fields without list entry on project overview (#33889). Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@19983 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index de99eeabe..c8745be14 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -31,7 +31,7 @@ <%= textilizable @project.description %> <% end %> - <% if @project.homepage.present? || @project.visible_custom_field_values.any?(&:present?) %> + <% if @project.homepage.present? || @project.visible_custom_field_values.any? { |o| o.value.present? } %>