Commit dd19ce96 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show amount of users and projects in Profile#groups

parent a2a7c809
...@@ -29,7 +29,10 @@ ...@@ -29,7 +29,10 @@
= link_to group, class: 'group-name' do = link_to group, class: 'group-name' do
%strong= group.name %strong= group.name
as #{user_group.human_access} as
%strong #{user_group.human_access}
%div.light
#{pluralize(group.projects.count, "project")}, #{pluralize(group.users.count, "user")}
= paginate @user_groups = paginate @user_groups
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment