Merge branch '29555-align-all-todo' into 'master'
align Mark all as done with other Done buttons on Todos page Closes #29555 See merge request !10171
This commit is contained in:
commit
bf305f2067
2 changed files with 11 additions and 6 deletions
|
@ -19,12 +19,13 @@
|
|||
|
||||
.nav-controls
|
||||
- if @todos.any?(&:pending?)
|
||||
= link_to destroy_all_dashboard_todos_path(todos_filter_params), class: 'btn btn-loading js-todos-mark-all', method: :delete, data: { href: destroy_all_dashboard_todos_path(todos_filter_params) } do
|
||||
Mark all as done
|
||||
= icon('spinner spin')
|
||||
= link_to bulk_restore_dashboard_todos_path, class: 'btn btn-loading js-todos-undo-all hidden', method: :patch , data: { href: bulk_restore_dashboard_todos_path(todos_filter_params) } do
|
||||
Undo mark all as done
|
||||
= icon('spinner spin')
|
||||
.append-right-default
|
||||
= link_to destroy_all_dashboard_todos_path(todos_filter_params), class: 'btn btn-loading js-todos-mark-all', method: :delete, data: { href: destroy_all_dashboard_todos_path(todos_filter_params) } do
|
||||
Mark all as done
|
||||
= icon('spinner spin')
|
||||
= link_to bulk_restore_dashboard_todos_path, class: 'btn btn-loading js-todos-undo-all hidden', method: :patch , data: { href: bulk_restore_dashboard_todos_path(todos_filter_params) } do
|
||||
Undo mark all as done
|
||||
= icon('spinner spin')
|
||||
|
||||
.todos-filters
|
||||
.row-content-block.second-block
|
||||
|
|
4
changelogs/unreleased/29555-align-all-todo.yml
Normal file
4
changelogs/unreleased/29555-align-all-todo.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: align Mark all as done with other Done buttons on Todos page
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue