Project

General

Profile

Defect #33889 ยป fix_project_with_empty_custom_fields.patch

Alexander Meindl, 2020-08-23 10:57

View differences:

app/views/projects/show.html.erb
<%= textilizable @project.description %>
</div>
<% 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? } %>
<ul>
<% unless @project.homepage.blank? %>
<li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li>
    (1-1/1)