diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-07-11 19:48:35 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-07-11 19:48:35 -0500 |
commit | abd3b11da3f0af96e8e04781bf50d44b9c832eee (patch) | |
tree | a61ca730c4c889512a18923a14bf1f87a8dce7b1 | |
parent | 0452e0a57e24fdd65f559cc1a8629892714adc7a (diff) | |
download | gitlab-ce-rs-delimit-done-todos.tar.gz |
Use number_with_delimiter for Todos pending/done tab countsrs-delimit-done-todos
-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 fc42e5dcc66..4e340b6ec16 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -9,14 +9,14 @@ %span To do %span.badge - = todos_pending_count + = number_with_delimiter(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.badge - = todos_done_count + = number_with_delimiter(todos_done_count) .nav-controls - if @todos.any?(&:pending?) |