mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
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:
@@ -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 %>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user