summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/environments
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-05 12:08:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-05 12:08:03 +0000
commit3c86701bc89302550abb9bbaa060132fdcd52480 (patch)
treeb73328cbd2de6d43afd0eb5253ec215274011dc8 /app/assets/javascripts/environments
parent17ef30f3df6d3939e41e69efc7cfa3deaa08605d (diff)
downloadgitlab-ce-3c86701bc89302550abb9bbaa060132fdcd52480.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/environments')
-rw-r--r--app/assets/javascripts/environments/components/enable_review_app_modal.vue13
1 files changed, 4 insertions, 9 deletions
diff --git a/app/assets/javascripts/environments/components/enable_review_app_modal.vue b/app/assets/javascripts/environments/components/enable_review_app_modal.vue
index 4d43ee156fb..6343fe8702a 100644
--- a/app/assets/javascripts/environments/components/enable_review_app_modal.vue
+++ b/app/assets/javascripts/environments/components/enable_review_app_modal.vue
@@ -45,6 +45,8 @@ export default {
copyToClipboardText: s__('EnableReviewApp|Copy snippet text'),
title: s__('ReviewApp|Enable Review App'),
},
+ visualReviewsDocs: helpPagePath('ci/review_apps/index.md', { anchor: 'visual-reviews' }),
+ connectClusterDocs: helpPagePath('user/clusters/agent/index'),
data() {
const modalInfoCopyId = uniqueId('enable-review-app-copy-string-');
@@ -64,9 +66,6 @@ export default {
except:
- ${this.defaultBranchName}`;
},
- visualReviewsDocs() {
- return helpPagePath('ci/review_apps/index.md', { anchor: 'visual-reviews' });
- },
},
};
</script>
@@ -88,11 +87,7 @@ export default {
<strong>{{ content }}</strong>
</template>
<template #link="{ content }">
- <gl-link
- href="https://docs.gitlab.com/ee/user/project/clusters/add_remove_clusters.html"
- target="_blank"
- >{{ content }}</gl-link
- >
+ <gl-link :href="$options.connectClusterDocs" target="_blank">{{ content }}</gl-link>
</template>
</gl-sprintf>
</p>
@@ -134,7 +129,7 @@ export default {
<strong>{{ content }}</strong>
</template>
<template #link="{ content }">
- <gl-link :href="visualReviewsDocs" target="_blank">{{ content }}</gl-link>
+ <gl-link :href="$options.visualReviewsDocs" target="_blank">{{ content }}</gl-link>
</template>
</gl-sprintf>
</p>