diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue')
-rw-r--r-- | app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue b/app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue deleted file mode 100644 index e83ed6c6332..00000000000 --- a/app/assets/javascripts/jobs/components/job_retry_forward_deployment_modal.vue +++ /dev/null @@ -1,66 +0,0 @@ -<script> -import { GlLink, GlModal } from '@gitlab/ui'; -import { JOB_RETRY_FORWARD_DEPLOYMENT_MODAL } from '../constants'; - -export default { - name: 'JobRetryForwardDeploymentModal', - components: { - GlLink, - GlModal, - }, - i18n: { - ...JOB_RETRY_FORWARD_DEPLOYMENT_MODAL, - }, - inject: { - retryOutdatedJobDocsUrl: { - default: '', - }, - }, - props: { - modalId: { - type: String, - required: true, - }, - href: { - type: String, - required: true, - }, - }, - data() { - return { - primaryProps: { - text: this.$options.i18n.primaryText, - attributes: [ - { - 'data-method': 'post', - 'data-testid': 'retry-button-modal', - href: this.href, - variant: 'danger', - }, - ], - }, - cancelProps: { - text: this.$options.i18n.cancel, - attributes: [{ category: 'secondary', variant: 'default' }], - }, - }; - }, -}; -</script> - -<template> - <gl-modal - :action-cancel="cancelProps" - :action-primary="primaryProps" - :modal-id="modalId" - :title="$options.i18n.title" - > - <p> - {{ $options.i18n.info }} - <gl-link v-if="retryOutdatedJobDocsUrl" :href="retryOutdatedJobDocsUrl" target="_blank"> - {{ $options.i18n.moreInfo }} - </gl-link> - </p> - <p>{{ $options.i18n.areYouSure }}</p> - </gl-modal> -</template> |