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
d2e667df
Commit
d2e667df
authored
Aug 31, 2020
by
Juan J. Ramirez
Committed by
Tim Zallmann
Aug 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrating setup policy button in registry settings
parent
f9087286
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
app/assets/javascripts/registry/settings/components/settings_form.vue
...avascripts/registry/settings/components/settings_form.vue
+7
-6
changelogs/unreleased/setup-policy-btn.yml
changelogs/unreleased/setup-policy-btn.yml
+5
-0
No files found.
app/assets/javascripts/registry/settings/components/settings_form.vue
View file @
d2e667df
<
script
>
import
{
get
}
from
'
lodash
'
;
import
{
mapActions
,
mapState
,
mapGetters
}
from
'
vuex
'
;
import
{
GlCard
,
Gl
Deprecated
Button
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
GlCard
,
GlButton
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
Tracking
from
'
~/tracking
'
;
import
{
mapComputed
}
from
'
~/vuex_shared/bindings
'
;
import
{
...
...
@@ -14,7 +14,7 @@ import { SET_CLEANUP_POLICY_BUTTON, CLEANUP_POLICY_CARD_HEADER } from '../consta
export
default
{
components
:
{
GlCard
,
Gl
Deprecated
Button
,
GlButton
,
GlLoadingIcon
,
ExpirationPolicyFields
,
},
...
...
@@ -104,24 +104,25 @@ export default {
</
template
>
<
template
#footer
>
<div
class=
"gl-display-flex gl-justify-content-end"
>
<gl-
deprecated-
button
<gl-button
ref=
"cancel-button"
type=
"reset"
class=
"gl-mr-3 gl-display-block"
:disabled=
"isCancelButtonDisabled"
>
{{
__
(
'
Cancel
'
)
}}
</gl-
deprecated-
button>
<gl-
deprecated-
button
</gl-button>
<gl-button
ref=
"save-button"
type=
"submit"
:disabled=
"isSubmitButtonDisabled"
variant=
"success"
category=
"primary"
class=
"gl-display-flex gl-justify-content-center gl-align-items-center js-no-auto-disable"
>
{{
$options
.
i18n
.
SET_CLEANUP_POLICY_BUTTON
}}
<gl-loading-icon
v-if=
"isLoading"
class=
"gl-ml-3"
/>
</gl-
deprecated-
button>
</gl-button>
</div>
</
template
>
</gl-card>
...
...
changelogs/unreleased/setup-policy-btn.yml
0 → 100644
View file @
d2e667df
---
title
:
Migrating setup policy button in registry settings
merge_request
:
40668
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