diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-12 03:10:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-12 03:10:38 +0300 |
commit | e57da6ba898df025f93bf8d3a896c7c2ba2ab830 (patch) | |
tree | 0eb1feedb28db1bbf9a695aae76b025a65105404 /app/assets/javascripts/projects | |
parent | 23790cda2b4145294d71591515acfe892d4c99a7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/projects')
-rw-r--r-- | app/assets/javascripts/projects/components/shared/delete_modal.vue | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/app/assets/javascripts/projects/components/shared/delete_modal.vue b/app/assets/javascripts/projects/components/shared/delete_modal.vue index d15f51692e7..44e29d00d45 100644 --- a/app/assets/javascripts/projects/components/shared/delete_modal.vue +++ b/app/assets/javascripts/projects/components/shared/delete_modal.vue @@ -100,10 +100,10 @@ export default { <template #modal-title>{{ $options.i18n.title }}</template> <div> <gl-alert class="gl-mb-5" variant="danger" :dismissible="false"> - <h4 v-if="isFork" data-testid="delete-alert-title" class="gl-alert-title"> + <h4 v-if="isFork" class="gl-alert-title"> {{ $options.i18n.isForkAlertTitle }} </h4> - <h4 v-else data-testid="delete-alert-title" class="gl-alert-title"> + <h4 v-else class="gl-alert-title"> {{ $options.i18n.isNotForkAlertTitle }} </h4> <ul> @@ -130,16 +130,8 @@ export default { </gl-sprintf> </li> </ul> - <gl-sprintf - v-if="isFork" - data-testid="delete-alert-body" - :message="$options.i18n.isForkAlertBody" - /> - <gl-sprintf - v-else - data-testid="delete-alert-body" - :message="$options.i18n.isNotForkAlertBody" - > + <gl-sprintf v-if="isFork" :message="$options.i18n.isForkAlertBody" /> + <gl-sprintf v-else :message="$options.i18n.isNotForkAlertBody"> <template #strong="{ content }"> <strong>{{ content }}</strong> </template> |