Commit f4a072b6 authored by Tom Quirk's avatar Tom Quirk

Reposition and restyle integration reset button

Changelog: changed
parent e3d7c020
...@@ -216,7 +216,12 @@ export default { ...@@ -216,7 +216,12 @@ export default {
v-bind="propsSource.jiraIssuesProps" v-bind="propsSource.jiraIssuesProps"
@request-jira-issue-types="onRequestJiraIssueTypes" @request-jira-issue-types="onRequestJiraIssueTypes"
/> />
<div v-if="isEditable" class="footer-block row-content-block">
<div
v-if="isEditable"
class="footer-block row-content-block gl-display-flex gl-justify-content-space-between"
>
<div>
<template v-if="isInstanceOrGroupLevel"> <template v-if="isInstanceOrGroupLevel">
<gl-button <gl-button
v-gl-modal.confirmSaveIntegration v-gl-modal.confirmSaveIntegration
...@@ -257,21 +262,23 @@ export default { ...@@ -257,21 +262,23 @@ export default {
{{ __('Test settings') }} {{ __('Test settings') }}
</gl-button> </gl-button>
<gl-button :href="propsSource.cancelPath">{{ __('Cancel') }}</gl-button>
</div>
<template v-if="showResetButton"> <template v-if="showResetButton">
<gl-button <gl-button
v-gl-modal.confirmResetIntegration v-gl-modal.confirmResetIntegration
category="secondary" category="tertiary"
variant="confirm" variant="danger"
:loading="isResetting" :loading="isResetting"
:disabled="disableButtons" :disabled="disableButtons"
data-testid="reset-button" data-testid="reset-button"
> >
{{ __('Reset') }} {{ __('Reset') }}
</gl-button> </gl-button>
<reset-confirmation-modal @reset="onResetClick" /> <reset-confirmation-modal @reset="onResetClick" />
</template> </template>
<gl-button :href="propsSource.cancelPath">{{ __('Cancel') }}</gl-button>
</div> </div>
</div> </div>
</div> </div>
......
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