mirror of
https://github.com/redmine/redmine.git
synced 2026-03-26 14:20:52 +01:00
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
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<% end %>
|
||||
<% @user.visible_custom_field_values.each do |custom_value| %>
|
||||
<% if !custom_value.value.blank? %>
|
||||
<li><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li>
|
||||
<li class="cf_<%= custom_value.custom_field.id %>"><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user