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
f5dc7037
Commit
f5dc7037
authored
Sep 16, 2020
by
Kyle Mann
Committed by
Mike Greiling
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated dropdown
parent
219327ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ee/app/assets/javascripts/vue_shared/license_compliance/components/admin_license_management_row.vue
...se_compliance/components/admin_license_management_row.vue
+9
-9
No files found.
ee/app/assets/javascripts/vue_shared/license_compliance/components/admin_license_management_row.vue
View file @
f5dc7037
<
script
>
<
script
>
import
{
mapActions
}
from
'
vuex
'
;
import
{
mapActions
}
from
'
vuex
'
;
import
{
GlD
eprecatedDropdown
,
GlDeprecated
DropdownItem
,
GlLoadingIcon
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlD
ropdown
,
Gl
DropdownItem
,
GlLoadingIcon
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
getIssueStatusFromLicenseStatus
}
from
'
ee/vue_shared/license_compliance/store/utils
'
;
import
{
getIssueStatusFromLicenseStatus
}
from
'
ee/vue_shared/license_compliance/store/utils
'
;
import
{
LICENSE_MANAGEMENT
}
from
'
ee/vue_shared/license_compliance/store/constants
'
;
import
{
LICENSE_MANAGEMENT
}
from
'
ee/vue_shared/license_compliance/store/constants
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
s__
}
from
'
~/locale
'
;
...
@@ -14,8 +14,8 @@ const invisibleClass = 'invisible';
...
@@ -14,8 +14,8 @@ const invisibleClass = 'invisible';
export
default
{
export
default
{
name
:
'
AdminLicenseManagementRow
'
,
name
:
'
AdminLicenseManagementRow
'
,
components
:
{
components
:
{
GlD
eprecatedD
ropdown
,
GlDropdown
,
GlD
eprecatedD
ropdownItem
,
GlDropdownItem
,
GlLoadingIcon
,
GlLoadingIcon
,
GlIcon
,
GlIcon
,
IssueStatusIcon
,
IssueStatusIcon
,
...
@@ -70,21 +70,21 @@ export default {
...
@@ -70,21 +70,21 @@ export default {
<div
class=
"float-right"
>
<div
class=
"float-right"
>
<div
class=
"d-flex"
>
<div
class=
"d-flex"
>
<gl-loading-icon
v-if=
"loading"
class=
"js-loading-icon d-flex align-items-center mr-2"
/>
<gl-loading-icon
v-if=
"loading"
class=
"js-loading-icon d-flex align-items-center mr-2"
/>
<gl-d
eprecated-d
ropdown
<gl-dropdown
:text=
"dropdownText"
:text=
"dropdownText"
:disabled=
"loading"
:disabled=
"loading"
toggle-class=
"d-flex justify-content-between align-items-center"
toggle-class=
"d-flex justify-content-between align-items-center"
right
right
>
>
<gl-d
eprecated-d
ropdown-item
@
click=
"allowLicense(license)"
>
<gl-dropdown-item
@
click=
"allowLicense(license)"
>
<gl-icon
:class=
"approveIconClass"
name=
"mobile-issue-close"
/>
<gl-icon
:class=
"approveIconClass"
name=
"mobile-issue-close"
/>
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
ALLOW
]
}}
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
ALLOW
]
}}
</gl-d
eprecated-d
ropdown-item>
</gl-dropdown-item>
<gl-d
eprecated-d
ropdown-item
@
click=
"denyLicense(license)"
>
<gl-dropdown-item
@
click=
"denyLicense(license)"
>
<gl-icon
:class=
"blacklistIconClass"
name=
"mobile-issue-close"
/>
<gl-icon
:class=
"blacklistIconClass"
name=
"mobile-issue-close"
/>
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
DENY
]
}}
{{
$options
[
$options
.
LICENSE_APPROVAL_ACTION
.
DENY
]
}}
</gl-d
eprecated-d
ropdown-item>
</gl-dropdown-item>
</gl-d
eprecated-d
ropdown>
</gl-dropdown>
<button
<button
:disabled=
"loading"
:disabled=
"loading"
class=
"btn btn-blank js-remove-button"
class=
"btn btn-blank js-remove-button"
...
...
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