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
7fce730c
Commit
7fce730c
authored
Feb 02, 2021
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert duration_badge to use GlBadge
parent
d426642b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
app/assets/javascripts/jobs/components/log/duration_badge.vue
...assets/javascripts/jobs/components/log/duration_badge.vue
+7
-2
changelogs/unreleased/jivanvl-convert-gl-badge-duration-component.yml
...nreleased/jivanvl-convert-gl-badge-duration-component.yml
+5
-0
No files found.
app/assets/javascripts/jobs/components/log/duration_badge.vue
View file @
7fce730c
<
script
>
import
{
GlBadge
}
from
'
@gitlab/ui
'
;
export
default
{
components
:
{
GlBadge
,
},
props
:
{
duration
:
{
type
:
String
,
...
...
@@ -9,7 +14,7 @@ export default {
};
</
script
>
<
template
>
<
div
class=
"log-duration-badge rounded align-self-start px-2 ml-2 flex-shrink-0 ws-normal"
>
<
gl-badge
>
{{
duration
}}
</
div
>
</
gl-badge
>
</
template
>
changelogs/unreleased/jivanvl-convert-gl-badge-duration-component.yml
0 → 100644
View file @
7fce730c
---
title
:
Change the badge design in the jobs page
merge_request
:
53168
author
:
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