From e8d971735b2d48b85b6195104eef46b0bc42206d Mon Sep 17 00:00:00 2001 From: George Tsiolis Date: Fri, 30 Nov 2018 17:48:17 +0200 Subject: Update badge-pill class --- app/views/dashboard/_groups_head.html.haml | 2 +- app/views/dashboard/_projects_head.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml index e85fd0db93c..ccb82ffe228 100644 --- a/app/views/dashboard/_groups_head.html.haml +++ b/app/views/dashboard/_groups_head.html.haml @@ -10,7 +10,7 @@ = nav_link(page: dashboard_groups_path) do = link_to dashboard_groups_path, title: _("Your groups") do Your groups - %span.badge.count= limited_counter_with_delimiter(current_user.groups) + %span.badge.badge-pill= limited_counter_with_delimiter(current_user.groups) = nav_link(page: explore_groups_path) do = link_to explore_groups_path, title: _("Explore public groups") do Explore public groups diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml index 831ea00cee1..d69fc14543b 100644 --- a/app/views/dashboard/_projects_head.html.haml +++ b/app/views/dashboard/_projects_head.html.haml @@ -15,11 +15,11 @@ = nav_link(page: [dashboard_projects_path, root_path]) do = link_to dashboard_projects_path, class: 'shortcuts-activity', data: {placement: 'right'} do Your projects - %span.badge.count= limited_counter_with_delimiter(ProjectsFinder.new(params: {non_public: true}, current_user: current_user).execute) + %span.badge.badge-pill= limited_counter_with_delimiter(ProjectsFinder.new(params: {non_public: true}, current_user: current_user).execute) = nav_link(page: starred_dashboard_projects_path) do = link_to starred_dashboard_projects_path, data: {placement: 'right'} do Starred projects - %span.badge.count= limited_counter_with_delimiter(ProjectsFinder.new(params: {starred: true}, current_user: current_user).execute) + %span.badge.badge-pill= limited_counter_with_delimiter(ProjectsFinder.new(params: {starred: true}, current_user: current_user).execute) = nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do = link_to explore_root_path, data: {placement: 'right'} do Explore projects -- cgit v1.2.3