summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/_with_tabs.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/_with_tabs.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/_with_tabs.html.haml')
-rw-r--r--app/views/projects/pipelines/_with_tabs.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml
index 075ddc0025c..aea8d13b7c5 100644
--- a/app/views/projects/pipelines/_with_tabs.html.haml
+++ b/app/views/projects/pipelines/_with_tabs.html.haml
@@ -1,9 +1,5 @@
- failed_builds = @pipeline.statuses.latest.failed
-- content_for :page_specific_javascripts do
- = page_specific_javascript_bundle_tag('common_vue')
- = page_specific_javascript_bundle_tag('pipelines_graph')
-
.tabs-holder
%ul.pipelines-tabs.nav-links.no-top.no-bottom
%li.js-pipeline-tab-link
@@ -21,7 +17,7 @@
.tab-content
#js-tab-pipeline.tab-pane
- #js-pipeline-graph-vue{ data: { endpoint: namespace_project_pipeline_path(@project.namespace, @project, @pipeline, format: :json) } }
+ #js-pipeline-graph-vue
#js-tab-builds.tab-pane
- if pipeline.yaml_errors.present?