Commit ff2b27a8 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'gl-badge-todos' into 'master'

Add gl-badge for badges in todos nav

See merge request gitlab-org/gitlab!57943
parents e16f5a72 0fac05f6
...@@ -15,13 +15,13 @@ ...@@ -15,13 +15,13 @@
= link_to todos_filter_path(state: 'pending') do = link_to todos_filter_path(state: 'pending') do
%span %span
To Do To Do
%span.badge.badge-pill %span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
= number_with_delimiter(todos_pending_count) = number_with_delimiter(todos_pending_count)
%li.todos-done{ class: active_when(params[:state] == 'done') }> %li.todos-done{ class: active_when(params[:state] == 'done') }>
= link_to todos_filter_path(state: 'done') do = link_to todos_filter_path(state: 'done') do
%span %span
Done Done
%span.badge.badge-pill %span.badge.gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
= number_with_delimiter(todos_done_count) = number_with_delimiter(todos_done_count)
.nav-controls .nav-controls
......
---
title: Add gl-badge for badges in todos nav
merge_request: 57943
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment