diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 923bc03e8..da1c53d98 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -30,7 +30,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 16f42ac4d..3c931c60b 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