From 24af62b16c4f3fecdd800eefe978125e2ca7b647 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 9 Mar 2019 15:22:30 +0000 Subject: [PATCH] Merged r17935 from trunk to 4.0-stable (#30985). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17936 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/users/show.html.erb | 2 +- test/functional/users_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 84e95ead5..9bae07166 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -14,7 +14,7 @@ <% end %> <% @user.visible_custom_field_values.each do |custom_value| %> <% if !custom_value.value.blank? %> -
  • <%= custom_value.custom_field.name %>: <%= show_value(custom_value) %>
  • +
  • <%= custom_value.custom_field.name %>: <%= show_value(custom_value) %>
  • <% end %> <% end %>
  • <%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %>
  • diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 1f2dd4f32..42999ea9e 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -118,7 +118,7 @@ class UsersControllerTest < Redmine::ControllerTest get :show, :params => {:id => 2} assert_response :success - assert_select 'li', :text => /Phone number/ + assert_select 'li[class=?]', 'cf_4', :text => /Phone number/ end def test_show_should_not_display_hidden_custom_fields -- 2.39.5