diff options
author | Go MAEDA <maeda@farend.jp> | 2021-07-31 05:33:33 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-07-31 05:33:33 +0000 |
commit | cb467fee8eb85924faf592855b0b3f99ed51a30a (patch) | |
tree | e4adfd323bf0c1b94fcc9ed3538d83207c16349f | |
parent | f479070c39dbf3f088f211a065e1e32da84d7502 (diff) | |
download | redmine-cb467fee8eb85924faf592855b0b3f99ed51a30a.tar.gz redmine-cb467fee8eb85924faf592855b0b3f99ed51a30a.zip |
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
-rw-r--r-- | app/views/groups/show.html.erb | 2 | ||||
-rw-r--r-- | test/functional/groups_controller_test.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/groups/show.html.erb b/app/views/groups/show.html.erb index 001bfe8ad..9cb6363f5 100644 --- a/app/views/groups/show.html.erb +++ b/app/views/groups/show.html.erb @@ -15,7 +15,7 @@ <h3><%= l(:label_member_plural) %></h3> <ul> <% @group.users.visible.each do |user| %> - <li><%= user %></li> + <li><%= link_to_user(user) %></li> <% end %> </ul> <% html_title @group.name %> diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb index c62aa5a7d..39d0b2e4e 100644 --- a/test/functional/groups_controller_test.rb +++ b/test/functional/groups_controller_test.rb @@ -52,6 +52,8 @@ class GroupsControllerTest < Redmine::ControllerTest @request.session[:user_id] = nil get(:show, :params => {:id => 10}) assert_response :success + + assert_select 'li a.user.active[href=?]', '/users/8', :text => 'User Misc' end def test_show_should_display_custom_fields |