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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0fac05f6
Commit
0fac05f6
authored
Apr 21, 2021
by
Yogi
Committed by
Phil Hughes
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gl-badge for badges in todos nav
parent
9d9b902a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/dashboard/todos/index.html.haml
app/views/dashboard/todos/index.html.haml
+2
-2
changelogs/unreleased/gl-badge-todos.yml
changelogs/unreleased/gl-badge-todos.yml
+5
-0
No files found.
app/views/dashboard/todos/index.html.haml
View file @
0fac05f6
...
...
@@ -15,13 +15,13 @@
=
link_to
todos_filter_path
(
state:
'pending'
)
do
%span
To Do
%span
.badge.
badge-pill
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
=
number_with_delimiter
(
todos_pending_count
)
%li
.todos-done
{
class:
active_when
(
params
[
:state
]
==
'done'
)
}
>
=
link_to
todos_filter_path
(
state:
'done'
)
do
%span
Done
%span
.badge.
badge-pill
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
=
number_with_delimiter
(
todos_done_count
)
.nav-controls
...
...
changelogs/unreleased/gl-badge-todos.yml
0 → 100644
View file @
0fac05f6
---
title
:
Add gl-badge for badges in todos nav
merge_request
:
57943
author
:
Yogi (@yo)
type
:
changed
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