Commit 95a1c067 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'move-cancel-btn-integrations' into 'master'

Group integration settings buttons to the left

See merge request gitlab-org/gitlab!55139
parents 77a1ab50 76f53640
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
return { return {
text: __('Save'), text: __('Save'),
attributes: [ attributes: [
{ variant: 'success' }, { variant: 'confirm' },
{ category: 'primary' }, { category: 'primary' },
{ disabled: this.isDisabled }, { disabled: this.isDisabled },
], ],
......
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
<gl-button <gl-button
v-gl-modal.confirmSaveIntegration v-gl-modal.confirmSaveIntegration
category="primary" category="primary"
variant="success" variant="confirm"
:loading="isSaving" :loading="isSaving"
:disabled="isDisabled" :disabled="isDisabled"
data-qa-selector="save_changes_button" data-qa-selector="save_changes_button"
...@@ -162,6 +162,8 @@ export default { ...@@ -162,6 +162,8 @@ export default {
<gl-button <gl-button
v-if="propsSource.canTest" v-if="propsSource.canTest"
category="secondary"
variant="confirm"
:loading="isTesting" :loading="isTesting"
:disabled="isDisabled" :disabled="isDisabled"
:href="propsSource.testPath" :href="propsSource.testPath"
...@@ -174,7 +176,7 @@ export default { ...@@ -174,7 +176,7 @@ export default {
<gl-button <gl-button
v-gl-modal.confirmResetIntegration v-gl-modal.confirmResetIntegration
category="secondary" category="secondary"
variant="default" variant="confirm"
:loading="isResetting" :loading="isResetting"
:disabled="isDisabled" :disabled="isDisabled"
data-testid="reset-button" data-testid="reset-button"
...@@ -184,9 +186,7 @@ export default { ...@@ -184,9 +186,7 @@ export default {
<reset-confirmation-modal @reset="onResetClick" /> <reset-confirmation-modal @reset="onResetClick" />
</template> </template>
<gl-button class="btn-cancel" :href="propsSource.cancelPath">{{ <gl-button :href="propsSource.cancelPath">{{ __('Cancel') }}</gl-button>
__('Cancel')
}}</gl-button>
</div> </div>
</div> </div>
</div> </div>
......
---
title: Group integration settings buttons to the left
merge_request: 55139
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment