diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
commit | 1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch) | |
tree | fcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/dashboard | |
parent | 88cb02baadfec724078a2bc2ec41d7509eec7ca9 (diff) |
Add badge-pill to .badge in haml
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/todos/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml index 664966989db..42afd9c2fe3 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -9,13 +9,13 @@ = link_to todos_filter_path(state: 'pending') do %span Todos - %span.badge + %span.badge.badge-pill = number_with_delimiter(todos_pending_count) %li.todos-done{ class: active_when(params[:state] == 'done') }> = link_to todos_filter_path(state: 'done') do %span Done - %span.badge + %span.badge.badge-pill = number_with_delimiter(todos_done_count) .nav-controls |