summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/show.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-05-26 11:56:54 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-05-26 11:57:40 +0100
commitcad686cc30309532ebf9a81ad37a60a98c84577c (patch)
tree13841b1347c190a46ab70f9a4ccaef20fe7a728b /app/views/projects/pipelines/show.html.haml
parent8e2fefc6c44fc3c6140e5cbc4b56c58c90dc07f3 (diff)
downloadgitlab-ce-cad686cc30309532ebf9a81ad37a60a98c84577c.tar.gz
Creates a mediator for pipeline details vue in order to mount several vue apps with the same data
Diffstat (limited to 'app/views/projects/pipelines/show.html.haml')
-rw-r--r--app/views/projects/pipelines/show.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/pipelines/show.html.haml b/app/views/projects/pipelines/show.html.haml
index 49c1d886423..b39453a50fb 100644
--- a/app/views/projects/pipelines/show.html.haml
+++ b/app/views/projects/pipelines/show.html.haml
@@ -7,3 +7,9 @@
= render "projects/pipelines/info"
= render "projects/pipelines/with_tabs", pipeline: @pipeline
+
+.js-pipeline-details-vue{ data: { endpoint: namespace_project_pipeline_path(@project.namespace, @project, @pipeline, format: :json) } }
+
+- content_for :page_specific_javascripts do
+ = webpack_bundle_tag('common_vue')
+ = webpack_bundle_tag('pipelines_details')