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
71cb23cb
Commit
71cb23cb
authored
Dec 16, 2021
by
anna_vovchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated badges to Pajamas-compliant component
parent
3dc0c804
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
app/views/shared/_milestones_filter.html.haml
app/views/shared/_milestones_filter.html.haml
+4
-7
No files found.
app/views/shared/_milestones_filter.html.haml
View file @
71cb23cb
-
count_badge_classes
=
'
badge badge-muted badge-pill gl-badge gl-tab-counter-badge sm
gl-display-none gl-sm-display-inline-flex'
-
count_badge_classes
=
'gl-display-none gl-sm-display-inline-flex'
=
gl_tabs_nav
(
{
class:
'gl-border-b-0 gl-flex-grow-1'
,
data:
{
testid:
'milestones-filter'
}
}
)
do
=
gl_tab_link_to
milestones_filter_path
(
state:
'opened'
),
{
item_active:
params
[
:state
].
blank?
||
params
[
:state
]
==
'opened'
}
do
=
_
(
'Open'
)
%span
{
class:
count_badge_classes
}
=
counts
[
:opened
]
=
gl_tab_counter_badge
counts
[
:opened
],
{
class:
count_badge_classes
}
=
gl_tab_link_to
milestones_filter_path
(
state:
'closed'
,
sort:
'due_date_desc'
),
{
item_active:
params
[
:state
]
==
'closed'
}
do
=
_
(
'Closed'
)
%span
{
class:
count_badge_classes
}
=
counts
[
:closed
]
=
gl_tab_counter_badge
counts
[
:closed
],
{
class:
count_badge_classes
}
=
gl_tab_link_to
milestones_filter_path
(
state:
'all'
,
sort:
'due_date_desc'
),
{
item_active:
params
[
:state
]
==
'all'
}
do
=
_
(
'All'
)
%span
{
class:
count_badge_classes
}
=
counts
[
:all
]
=
gl_tab_counter_badge
counts
[
:all
],
{
class:
count_badge_classes
}
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