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
8c2439fa
Commit
8c2439fa
authored
Jan 21, 2022
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert badge_list_row badge to GlBadge
Closes
https://gitlab.com/gitlab-org/gitlab/-/issues/344301
parent
55a4cc5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/badges/components/badge_list_row.vue
app/assets/javascripts/badges/components/badge_list_row.vue
+3
-2
No files found.
app/assets/javascripts/badges/components/badge_list_row.vue
View file @
8c2439fa
<
script
>
import
{
GlLoadingIcon
,
GlButton
,
GlModalDirective
}
from
'
@gitlab/ui
'
;
import
{
GlLoadingIcon
,
GlButton
,
GlModalDirective
,
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
mapActions
,
mapState
}
from
'
vuex
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
PROJECT_BADGE
}
from
'
../constants
'
;
...
...
@@ -11,6 +11,7 @@ export default {
Badge
,
GlLoadingIcon
,
GlButton
,
GlBadge
,
},
directives
:
{
GlModal
:
GlModalDirective
,
...
...
@@ -49,7 +50,7 @@ export default {
/>
<div
class=
"table-section section-30"
>
<label
class=
"label-bold str-truncated mb-0"
>
{{
badge
.
name
}}
</label>
<
span
class=
"badge badge-pill"
>
{{
badgeKindText
}}
</span
>
<
gl-badge
size=
"sm"
>
{{
badgeKindText
}}
</gl-badge
>
</div>
<span
class=
"table-section section-30 str-truncated"
>
{{
badge
.
linkUrl
}}
</span>
<div
class=
"table-section section-10 table-button-footer"
>
...
...
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