From fd1dc9726cdaa5f5105f06219bf2d2f19a77e4c0 Mon Sep 17 00:00:00 2001 From: Nathan Friend Date: Mon, 17 Jun 2019 09:16:15 -0500 Subject: Add merge train position message (CE) This commit adds an informational message under the pipeline block in the merge request widget that displays the current position of the merge request on the merge train. --- .../components/mr_widget_pipeline_container.vue | 11 +++++++++++ app/assets/stylesheets/pages/merge_requests.scss | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline_container.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline_container.vue index 03a15ba81ed..ba9a4d2a187 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline_container.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline_container.vue @@ -1,4 +1,5 @@ @@ -83,6 +89,11 @@ export default { :visual-review-app-meta="visualReviewAppMeta" /> + diff --git a/app/assets/stylesheets/pages/merge_requests.scss b/app/assets/stylesheets/pages/merge_requests.scss index 8cb3fab74e0..3917937f4af 100644 --- a/app/assets/stylesheets/pages/merge_requests.scss +++ b/app/assets/stylesheets/pages/merge_requests.scss @@ -904,7 +904,8 @@ margin-right: -5px; } -.deploy-heading { +.deploy-heading, +.merge-train-info { @include media-breakpoint-up(md) { padding: $gl-padding-8 $gl-padding; } -- cgit v1.2.1