summaryrefslogtreecommitdiff
path: root/app/views/dashboard/todos
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-04 16:25:10 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-04 17:07:47 -0500
commit8d19955c05f18675fc16dee6ca0f4da24013e816 (patch)
treef4a132c7d4ff458d307b96c786dd7cebf909997d /app/views/dashboard/todos
parent3a3f0bf436007b3eecc0b85d0fc696951245ab6a (diff)
downloadgitlab-ce-8d19955c05f18675fc16dee6ca0f4da24013e816.tar.gz
Revert counter parentheses back to badges15179-builds-redesign
Diffstat (limited to 'app/views/dashboard/todos')
-rw-r--r--app/views/dashboard/todos/index.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml
index a87b796c6f3..fc42e5dcc66 100644
--- a/app/views/dashboard/todos/index.html.haml
+++ b/app/views/dashboard/todos/index.html.haml
@@ -8,15 +8,15 @@
= link_to todos_filter_path(state: 'pending') do
%span
To do
- %span
- (#{todos_pending_count})
+ %span.badge
+ = todos_pending_count
- todo_done_active = ('active' if params[:state] == 'done')
%li{class: "todos-done #{todo_done_active}"}
= link_to todos_filter_path(state: 'done') do
%span
Done
- %span
- (#{todos_done_count})
+ %span.badge
+ = todos_done_count
.nav-controls
- if @todos.any?(&:pending?)