From: Go MAEDA Date: Wed, 6 Mar 2019 23:23:39 +0000 (+0000) Subject: Merged r17931 from trunk to 4.0-stable (#30977). X-Git-Tag: 4.0.3~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a1b03eeafe527e9247754c50707daa521339d4a;p=redmine.git Merged r17931 from trunk to 4.0-stable (#30977). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17932 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index e894bcd39..904f86ba0 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -29,7 +29,7 @@
  • <%=l(:field_homepage)%>: <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %>
  • <% end %> <% render_custom_field_values(@project) do |custom_field, formatted| %> -
  • <%= custom_field.name %>: <%= formatted %>
  • +
  • <%= custom_field.name %>: <%= formatted %>
  • <% end %> <% end %> diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index e5b5eaaf4..03a33d584 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -477,7 +477,7 @@ class ProjectsControllerTest < Redmine::ControllerTest } assert_response :success - assert_select 'li', :text => /Development status/ + assert_select 'li[class=?]', 'cf_3', :text => /Development status/ end def test_show_should_not_display_hidden_custom_fields