Browse Source

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
tags/5.0.0
Go MAEDA 2 years ago
parent
commit
cb467fee8e
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      app/views/groups/show.html.erb
  2. 2
    0
      test/functional/groups_controller_test.rb

+ 1
- 1
app/views/groups/show.html.erb View File

@@ -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 %>

+ 2
- 0
test/functional/groups_controller_test.rb View File

@@ -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

Loading…
Cancel
Save