Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
69482f1c
Commit
69482f1c
authored
Mar 23, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
align Mark all as done with other Done buttons on Todos page
parent
bcbd0325
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
app/views/dashboard/todos/index.html.haml
app/views/dashboard/todos/index.html.haml
+7
-6
changelogs/unreleased/29555-align-all-todo.yml
changelogs/unreleased/29555-align-all-todo.yml
+4
-0
No files found.
app/views/dashboard/todos/index.html.haml
View file @
69482f1c
...
@@ -19,12 +19,13 @@
...
@@ -19,12 +19,13 @@
.nav-controls
.nav-controls
-
if
@todos
.
any?
(
&
:pending?
)
-
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
.append-right-default
Mark all as done
=
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
=
icon
(
'spinner spin'
)
Mark all as done
=
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
=
icon
(
'spinner spin'
)
Undo mark all as done
=
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
=
icon
(
'spinner spin'
)
Undo mark all as done
=
icon
(
'spinner spin'
)
.todos-filters
.todos-filters
.row-content-block.second-block
.row-content-block.second-block
...
...
changelogs/unreleased/29555-align-all-todo.yml
0 → 100644
View file @
69482f1c
---
title
:
align Mark all as done with other Done buttons on Todos page
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment