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>2020-07-18 03:09:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-18 03:09:34 +0300
commitccefff8087799bc076737ad080f18cf98e6fe114 (patch)
tree452ebc93942fd48d58e57ea57f8bdaaa93ab5b90 /app/assets/javascripts/blob
parent1d84a028b42a1a3aed36a0f3a6cae970c8df8e69 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/blob')
-rw-r--r--app/assets/javascripts/blob/pipeline_tour_success_modal.vue24
1 files changed, 14 insertions, 10 deletions
diff --git a/app/assets/javascripts/blob/pipeline_tour_success_modal.vue b/app/assets/javascripts/blob/pipeline_tour_success_modal.vue
index 3ccd84037a7..ca4750f73d2 100644
--- a/app/assets/javascripts/blob/pipeline_tour_success_modal.vue
+++ b/app/assets/javascripts/blob/pipeline_tour_success_modal.vue
@@ -11,8 +11,12 @@ export default {
beginnerLink:
'https://about.gitlab.com/blog/2018/01/22/a-beginners-guide-to-continuous-integration/',
exampleLink: 'https://docs.gitlab.com/ee/ci/examples/',
+ codeQualityLink: 'https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html',
bodyMessage: s__(
- 'MR widget|The pipeline will now run automatically every time you commit code. Pipelines are useful for deploying static web pages, detecting vulnerabilities in dependencies, static or dynamic application security testing (SAST and DAST), and so much more!',
+ `MR widget|The pipeline will test your code on every commit. A %{codeQualityLinkStart}code quality report%{codeQualityLinkEnd} will appear in your merge requests to warn you about potential code degradations.`,
+ ),
+ helpMessage: s__(
+ `MR widget|Take a look at our %{beginnerLinkStart}Beginner's Guide to Continuous Integration%{beginnerLinkEnd} and our %{exampleLinkStart}examples of GitLab CI/CD%{exampleLinkEnd} to learn more.`,
),
modalTitle: sprintf(
__("That's it, well done!%{celebrate}"),
@@ -75,15 +79,15 @@ export default {
modal-id="success-pipeline-modal-id-not-used"
>
<p>
- {{ $options.bodyMessage }}
+ <gl-sprintf :message="$options.bodyMessage">
+ <template #codeQualityLink="{content}">
+ <gl-link :href="$options.codeQualityLink" target="_blank" class="font-size-inherit">{{
+ content
+ }}</gl-link>
+ </template>
+ </gl-sprintf>
</p>
- <gl-sprintf
- :message="
- s__(`MR widget|Take a look at our %{beginnerLinkStart}Beginner's Guide to Continuous Integration%{beginnerLinkEnd}
- and our %{exampleLinkStart}examples of GitLab CI/CD%{exampleLinkEnd}
- to see all the cool stuff you can do with it.`)
- "
- >
+ <gl-sprintf :message="$options.helpMessage">
<template #beginnerLink="{content}">
<gl-link :href="$options.beginnerLink" target="_blank">
{{ content }}
@@ -105,7 +109,7 @@ export default {
:data-track-event="$options.trackEvent"
:data-track-label="trackLabel"
>
- {{ __('Go to Pipelines') }}
+ {{ __('See your pipeline in action') }}
</a>
</template>
</gl-modal>