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
a7578047
Commit
a7578047
authored
Oct 23, 2020
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced GlDepreactedBadge in unscanned Projects
parent
cf605972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
ee/app/assets/javascripts/security_dashboard/components/unscanned_projects.vue
...ipts/security_dashboard/components/unscanned_projects.vue
+17
-7
No files found.
ee/app/assets/javascripts/security_dashboard/components/unscanned_projects.vue
View file @
a7578047
<
script
>
import
{
Gl
DeprecatedBadge
as
Gl
Badge
,
GlTabs
,
GlTab
,
GlLink
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlBadge
,
GlTabs
,
GlTab
,
GlLink
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
UnscannedProjectsTabContent
from
'
./unscanned_projects_tab_content.vue
'
;
...
...
@@ -62,9 +62,14 @@ export default {
<gl-tab
ref=
"outdatedProjectsTab"
title-item-class=
"ml-3"
>
<template
#title
>
{{
s__
(
'
UnscannedProjects|Out of date
'
)
}}
<gl-badge
v-if=
"!isLoading"
ref=
"outdatedProjectsCount"
pill
>
{{
outdatedProjectsCount
}}
</gl-badge>
<gl-badge
size=
"sm"
class=
"gl-tab-counter-badge"
v-if=
"!isLoading"
ref=
"outdatedProjectsCount"
pill
>
{{
outdatedProjectsCount
}}
</gl-badge>
</
template
>
<unscanned-projects-tab-content
:is-loading=
"isLoading"
:is-empty=
"!hasOutdatedProjects"
>
<div
v-for=
"dateRange in outdatedProjects"
:key=
"dateRange.fromDay"
class=
"mb-3"
>
...
...
@@ -82,9 +87,14 @@ export default {
<gl-tab
ref=
"untestedProjectsTab"
title-item-class=
"ml-3"
>
<
template
#title
>
{{
s__
(
'
UnscannedProjects|Untested
'
)
}}
<gl-badge
v-if=
"!isLoading"
ref=
"untestedProjectsCount"
pill
>
{{
untestedProjectsCount
}}
</gl-badge>
<gl-badge
size=
"sm"
class=
"gl-tab-counter-badge"
v-if=
"!isLoading"
ref=
"untestedProjectsCount"
pill
>
{{
untestedProjectsCount
}}
</gl-badge>
</
template
>
<unscanned-projects-tab-content
:is-loading=
"isLoading"
:is-empty=
"!hasUntestedProjects"
>
<ul
class=
"list-unstyled m-0"
>
...
...
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