summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 00:07:11 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 00:07:11 +0100
commit7225b12f14721f064176b55e6280512a0edd2474 (patch)
tree1332e7380b13be9d255e2f6e5a61357814cbab96
parent20f0951481ed3a84509bcf2b1158265e34f01b49 (diff)
downloadgitlab-ce-improve-groups-list.tar.gz
Add number_with_delimiter and remove unnecessary dara placement for groups pageimprove-groups-list
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/dashboard/_groups_head.html.haml4
-rw-r--r--app/views/shared/groups/_group.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml
index 15e423a3b29..e52070704d9 100644
--- a/app/views/dashboard/_groups_head.html.haml
+++ b/app/views/dashboard/_groups_head.html.haml
@@ -1,10 +1,10 @@
.top-area
%ul.nav-links
= nav_link(page: dashboard_groups_path) do
- = link_to dashboard_groups_path, title: 'Your groups', data: {placement: 'right'} do
+ = link_to dashboard_groups_path, title: 'Your groups' do
Your Groups
= nav_link(page: explore_groups_path) do
- = link_to explore_groups_path, title: 'Explore groups', data: {placement: 'bottom'} do
+ = link_to explore_groups_path, title: 'Explore groups' do
Explore Groups
- if current_user.can_create_group?
.projects-search-form
diff --git a/app/views/shared/groups/_group.html.haml b/app/views/shared/groups/_group.html.haml
index aa2ece22485..f7fe6b02641 100644
--- a/app/views/shared/groups/_group.html.haml
+++ b/app/views/shared/groups/_group.html.haml
@@ -15,11 +15,11 @@
.stats
%span
= icon('home')
- = group.projects.count
+ = number_with_delimiter(group.projects.count)
%span
= icon('users')
- = group.users.count
+ = number_with_delimiter(group.users.count)
= image_tag group_icon(group), class: "avatar s46 hidden-xs"
= link_to group, class: 'group-name' do