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
dab06c3c
Commit
dab06c3c
authored
Jan 18, 2022
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make badge in issues-badge Pajamas compliant
parent
8b5b39ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ee/app/assets/javascripts/security_dashboard/components/shared/issues_badge.vue
...pts/security_dashboard/components/shared/issues_badge.vue
+2
-4
No files found.
ee/app/assets/javascripts/security_dashboard/components/shared/issues_badge.vue
View file @
dab06c3c
<
script
>
<
script
>
import
{
Gl
Icon
,
Gl
Popover
,
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
GlPopover
,
GlBadge
}
from
'
@gitlab/ui
'
;
import
IssueLink
from
'
ee/vulnerabilities/components/issue_link.vue
'
;
import
IssueLink
from
'
ee/vulnerabilities/components/issue_link.vue
'
;
import
{
n__
}
from
'
~/locale
'
;
import
{
n__
}
from
'
~/locale
'
;
export
default
{
export
default
{
components
:
{
components
:
{
GlIcon
,
GlBadge
,
GlBadge
,
GlPopover
,
GlPopover
,
IssueLink
,
IssueLink
,
...
@@ -37,8 +36,7 @@ export default {
...
@@ -37,8 +36,7 @@ export default {
<
template
>
<
template
>
<div
class=
"gl-display-inline-block"
>
<div
class=
"gl-display-inline-block"
>
<gl-badge
ref=
"issueBadge"
class=
"gl-px-3"
>
<gl-badge
ref=
"issueBadge"
icon=
"issues"
class=
"gl-px-3"
>
<gl-icon
name=
"issues"
class=
"gl-mr-2"
/>
{{
numberOfIssues
}}
{{
numberOfIssues
}}
</gl-badge>
</gl-badge>
<gl-popover
ref=
"popover"
:target=
"issueBadgeEl"
placement=
"top"
>
<gl-popover
ref=
"popover"
:target=
"issueBadgeEl"
placement=
"top"
>
...
...
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