BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
index.html.haml
app/views/dashboard/todos/index.html.haml
+7
-6
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 @@
.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
...
...
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