diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:33:41 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:33:41 -0500 |
commit | 1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch) | |
tree | fcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/shared/_milestones_filter.html.haml | |
parent | 88cb02baadfec724078a2bc2ec41d7509eec7ca9 (diff) | |
download | gitlab-ce-1c75a0e27c31b64b6426e0a4315e9ce7363d3b13.tar.gz |
Add badge-pill to .badge in haml
Diffstat (limited to 'app/views/shared/_milestones_filter.html.haml')
-rw-r--r-- | app/views/shared/_milestones_filter.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/_milestones_filter.html.haml b/app/views/shared/_milestones_filter.html.haml index 034b76b978f..69b8478ff75 100644 --- a/app/views/shared/_milestones_filter.html.haml +++ b/app/views/shared/_milestones_filter.html.haml @@ -2,12 +2,12 @@ %li{ class: milestone_class_for_state(params[:state], 'opened', true) }> = link_to milestones_filter_path(state: 'opened') do Open - %span.badge= counts[:opened] + %span.badge.badge-pill= counts[:opened] %li{ class: milestone_class_for_state(params[:state], 'closed') }> = link_to milestones_filter_path(state: 'closed', sort: 'due_date_desc') do Closed - %span.badge= counts[:closed] + %span.badge.badge-pill= counts[:closed] %li{ class: milestone_class_for_state(params[:state], 'all') }> = link_to milestones_filter_path(state: 'all', sort: 'due_date_desc') do All - %span.badge= counts[:all] + %span.badge.badge-pill= counts[:all] |