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
e071925f
Commit
e071925f
authored
Apr 20, 2021
by
Yogi
Committed by
Scott Hampton
Apr 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gl-badge for badges in jobs page nav
Use gl-badge classes in existing badges
parent
9d9b902a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/shared/builds/_tabs.html.haml
app/views/shared/builds/_tabs.html.haml
+4
-4
changelogs/unreleased/gl-badge-jobs.yml
changelogs/unreleased/gl-badge-jobs.yml
+5
-0
No files found.
app/views/shared/builds/_tabs.html.haml
View file @
e071925f
...
...
@@ -2,23 +2,23 @@
%li
{
class:
active_when
(
scope
.
nil?
)
}
>
=
link_to
build_path_proc
.
call
(
nil
)
do
All
%span
.badge.
badge-pill
.js-totalbuilds-count
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
.js-totalbuilds-count
=
limited_counter_with_delimiter
(
all_builds
)
%li
{
class:
active_when
(
scope
==
'pending'
)
}
>
=
link_to
build_path_proc
.
call
(
'pending'
)
do
Pending
%span
.badge.
badge-pill
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
=
limited_counter_with_delimiter
(
all_builds
.
pending
)
%li
{
class:
active_when
(
scope
==
'running'
)
}
>
=
link_to
build_path_proc
.
call
(
'running'
)
do
Running
%span
.badge.
badge-pill
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
=
limited_counter_with_delimiter
(
all_builds
.
running
)
%li
{
class:
active_when
(
scope
==
'finished'
)
}
>
=
link_to
build_path_proc
.
call
(
'finished'
)
do
Finished
%span
.badge.
badge-pill
%span
.badge.
gl-tab-counter-badge.badge-muted.badge-pill.gl-badge.sm
=
limited_counter_with_delimiter
(
all_builds
.
finished
)
changelogs/unreleased/gl-badge-jobs.yml
0 → 100644
View file @
e071925f
---
title
:
Add gl-badge for badges in jobs page nav
merge_request
:
57938
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