diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-02-03 00:07:11 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-02-03 16:14:11 +0100 |
commit | df922d811520f2b6459e84f1e595d3a0fcfc395c (patch) | |
tree | 6b0018fb2255d84be31f7aaa16e7fc83d9f9918d /app | |
parent | 639b25e34caa27191dc190c62b8d9ad59f9624ff (diff) | |
download | gitlab-ce-df922d811520f2b6459e84f1e595d3a0fcfc395c.tar.gz |
Add number_with_delimiter and remove unnecessary dara placement for groups page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/dashboard/_groups_head.html.haml | 4 | ||||
-rw-r--r-- | app/views/shared/groups/_group.html.haml | 4 |
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 |