Commit dd19ce962828255579b107f81e0fb54ba067575f

Authored by Dmitriy Zaporozhets
1 parent a2a7c809

Show amount of users and projects in Profile#groups

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
app/views/profiles/groups/index.html.haml
... ... @@ -29,7 +29,10 @@
29 29 = link_to group, class: 'group-name' do
30 30 %strong= group.name
31 31  
32   - as #{user_group.human_access}
  32 + as
  33 + %strong #{user_group.human_access}
33 34  
  35 + %div.light
  36 + #{pluralize(group.projects.count, "project")}, #{pluralize(group.users.count, "user")}
34 37  
35 38 = paginate @user_groups
... ...