summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDimitrie Hoekstra <dimitrie@gitlab.com>2019-08-22 10:20:26 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-08-22 10:20:26 +0000
commitb9e21ad86fd176b5388c7b37d250d5ec60bc9abe (patch)
tree482a6185260754a0d0881e7cea2e8247dc256913 /app
parente356ceae8c70f5d21f5b33cee389945ece4263d9 (diff)
downloadgitlab-ce-b9e21ad86fd176b5388c7b37d250d5ec60bc9abe.tar.gz
Updated latest pipeline tag tooltip to be more descriptive
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/pipelines/components/pipeline_url.vue2
-rw-r--r--app/views/projects/pipelines/_info.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipeline_url.vue b/app/assets/javascripts/pipelines/components/pipeline_url.vue
index 4efc1d2408a..a08f732dda7 100644
--- a/app/assets/javascripts/pipelines/components/pipeline_url.vue
+++ b/app/assets/javascripts/pipelines/components/pipeline_url.vue
@@ -67,7 +67,7 @@ export default {
<span
v-if="pipeline.flags.latest"
v-gl-tooltip
- :title="__('Latest pipeline for this branch')"
+ :title="__('Latest pipeline for the most recent commit on this branch')"
class="js-pipeline-url-latest badge badge-success"
>
{{ __('latest') }}
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml
index 9614f33fe2f..53bb3c7487d 100644
--- a/app/views/projects/pipelines/_info.html.haml
+++ b/app/views/projects/pipelines/_info.html.haml
@@ -21,7 +21,7 @@
.icon-container
= sprite_icon('flag')
- if @pipeline.latest?
- %span.js-pipeline-url-latest.badge.badge-success.has-tooltip{ title: _("Latest pipeline for this branch") }
+ %span.js-pipeline-url-latest.badge.badge-success.has-tooltip{ title: _("Latest pipeline for the most recent commit on this branch") }
latest
- if @pipeline.has_yaml_errors?
%span.js-pipeline-url-yaml.badge.badge-danger.has-tooltip{ title: @pipeline.yaml_errors }