From dd19ce962828255579b107f81e0fb54ba067575f Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Tue, 27 Aug 2013 12:34:54 +0300
Subject: [PATCH] Show amount of users and projects in Profile#groups

---
 app/views/profiles/groups/index.html.haml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/views/profiles/groups/index.html.haml b/app/views/profiles/groups/index.html.haml
index d3ff233bf12..6fc27be5db4 100644
--- a/app/views/profiles/groups/index.html.haml
+++ b/app/views/profiles/groups/index.html.haml
@@ -29,7 +29,10 @@
         = link_to group, class: 'group-name' do
           %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
-- 
GitLab