Link to the profile page from users on the group page (#12795).

git-svn-id: http://svn.redmine.org/redmine/trunk@21114 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2021-07-31 05:33:33 +00:00
parent f479070c39
commit cb467fee8e
2 changed files with 3 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
<h3><%= l(:label_member_plural) %></h3> <h3><%= l(:label_member_plural) %></h3>
<ul> <ul>
<% @group.users.visible.each do |user| %> <% @group.users.visible.each do |user| %>
<li><%= user %></li> <li><%= link_to_user(user) %></li>
<% end %> <% end %>
</ul> </ul>
<% html_title @group.name %> <% html_title @group.name %>

View File

@@ -52,6 +52,8 @@ class GroupsControllerTest < Redmine::ControllerTest
@request.session[:user_id] = nil @request.session[:user_id] = nil
get(:show, :params => {:id => 10}) get(:show, :params => {:id => 10})
assert_response :success assert_response :success
assert_select 'li a.user.active[href=?]', '/users/8', :text => 'User Misc'
end end
def test_show_should_display_custom_fields def test_show_should_display_custom_fields