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:
Diffstat (limited to 'app/assets/javascripts/pipelines/components/pipelines_list/empty_state.vue')
-rw-r--r--app/assets/javascripts/pipelines/components/pipelines_list/empty_state.vue53
1 files changed, 0 insertions, 53 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipelines_list/empty_state.vue b/app/assets/javascripts/pipelines/components/pipelines_list/empty_state.vue
deleted file mode 100644
index 3bbdfc73e1b..00000000000
--- a/app/assets/javascripts/pipelines/components/pipelines_list/empty_state.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-<script>
-import { GlEmptyState } from '@gitlab/ui';
-import { s__ } from '~/locale';
-import GitlabExperiment from '~/experimentation/components/gitlab_experiment.vue';
-import PipelinesCiTemplates from './empty_state/pipelines_ci_templates.vue';
-import IosTemplates from './empty_state/ios_templates.vue';
-
-export default {
- i18n: {
- noCiDescription: s__('Pipelines|This project is not currently set up to run pipelines.'),
- },
- name: 'PipelinesEmptyState',
- components: {
- GlEmptyState,
- GitlabExperiment,
- PipelinesCiTemplates,
- IosTemplates,
- },
- props: {
- emptyStateSvgPath: {
- type: String,
- required: true,
- },
- canSetCi: {
- type: Boolean,
- required: true,
- },
- registrationToken: {
- type: String,
- required: false,
- default: null,
- },
- },
-};
-</script>
-<template>
- <div>
- <gitlab-experiment v-if="canSetCi" name="ios_specific_templates">
- <template #control>
- <pipelines-ci-templates />
- </template>
- <template #candidate>
- <ios-templates :registration-token="registrationToken" />
- </template>
- </gitlab-experiment>
- <gl-empty-state
- v-else
- title=""
- :svg-path="emptyStateSvgPath"
- :description="$options.i18n.noCiDescription"
- />
- </div>
-</template>