Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-02 00:10:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-02 00:10:32 +0300
commit3b2d5044ab17d58a55a6609f73a6834cb8ab9d9a (patch)
tree916bc4b1ec2ac661957fdcff936d868d8cd6ec64 /app/assets/javascripts/pages
parent07cbb41fee42601767b3aea2979d6fa6d990ce5b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r--app/assets/javascripts/pages/projects/shared/permissions/components/ci_catalog_settings.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/javascripts/pages/projects/shared/permissions/components/ci_catalog_settings.vue b/app/assets/javascripts/pages/projects/shared/permissions/components/ci_catalog_settings.vue
index 5325bf576e6..32775ac553c 100644
--- a/app/assets/javascripts/pages/projects/shared/permissions/components/ci_catalog_settings.vue
+++ b/app/assets/javascripts/pages/projects/shared/permissions/components/ci_catalog_settings.vue
@@ -1,15 +1,15 @@
<script>
-import { GlBadge, GlLink, GlLoadingIcon, GlModal, GlSprintf, GlToggle } from '@gitlab/ui';
+import { GlLink, GlLoadingIcon, GlModal, GlSprintf, GlToggle } from '@gitlab/ui';
import { createAlert } from '~/alert';
import { __, s__ } from '~/locale';
import { helpPagePath } from '~/helpers/help_page_helper';
+import BetaBadge from '~/vue_shared/components/badges/beta_badge.vue';
import getCiCatalogSettingsQuery from '../graphql/queries/get_ci_catalog_settings.query.graphql';
import catalogResourcesCreate from '../graphql/mutations/catalog_resources_create.mutation.graphql';
import catalogResourcesDestroy from '../graphql/mutations/catalog_resources_destroy.mutation.graphql';
const i18n = {
- badgeText: __('Experiment'),
catalogResourceQueryError: s__(
'CiCatalog|There was a problem fetching the CI/CD Catalog setting.',
),
@@ -52,7 +52,7 @@ const releasesHelpPath = helpPagePath('user/project/releases/release_cicd_exampl
export default {
components: {
- GlBadge,
+ BetaBadge,
GlLink,
GlLoadingIcon,
GlModal,
@@ -154,11 +154,11 @@ export default {
<div>
<gl-loading-icon v-if="isLoading" />
<div v-else data-testid="ci-catalog-settings">
- <div>
- <label class="gl-mb-1 gl-mr-2">
+ <div class="gl-display-flex">
+ <label class="gl-mb-1 gl-mr-3">
{{ $options.i18n.ciCatalogLabel }}
</label>
- <gl-badge size="sm" variant="neutral"> {{ $options.i18n.badgeText }} </gl-badge>
+ <beta-badge size="sm" />
</div>
<gl-sprintf :message="$options.i18n.ciCatalogHelpText">
<template #link="{ content }">