summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-02 01:34:36 -0600
committerMike Greiling <mike@pixelcog.com>2017-03-03 16:47:38 -0600
commitec9180719ef3d8a3d2aa6bc67b2ec31f91c57613 (patch)
treedcbaaea460d4e6fd902ff151f1352bf9bf555214 /app/views/projects
parent1f9743310054273b98e423b6dc5e99a5bc9fd7a2 (diff)
downloadgitlab-ce-ec9180719ef3d8a3d2aa6bc67b2ec31f91c57613.tar.gz
create a cacheable commons bundle for d3 library
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/graphs/charts.html.haml1
-rw-r--r--app/views/projects/graphs/show.html.haml1
-rw-r--r--app/views/projects/pipelines/charts.html.haml1
3 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/graphs/charts.html.haml b/app/views/projects/graphs/charts.html.haml
index fa28db6c71f..464ac34d961 100644
--- a/app/views/projects/graphs/charts.html.haml
+++ b/app/views/projects/graphs/charts.html.haml
@@ -1,6 +1,7 @@
- @no_container = true
- page_title "Charts"
- content_for :page_specific_javascripts do
+ = page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
= render "projects/commits/head"
diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml
index 05291c65b50..680f8ae6c8f 100644
--- a/app/views/projects/graphs/show.html.haml
+++ b/app/views/projects/graphs/show.html.haml
@@ -1,6 +1,7 @@
- @no_container = true
- page_title "Contributors"
- content_for :page_specific_javascripts do
+ = page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
= render 'projects/commits/head'
diff --git a/app/views/projects/pipelines/charts.html.haml b/app/views/projects/pipelines/charts.html.haml
index fbf783afe44..4a5043aac3c 100644
--- a/app/views/projects/pipelines/charts.html.haml
+++ b/app/views/projects/pipelines/charts.html.haml
@@ -1,6 +1,7 @@
- @no_container = true
- page_title "Charts", "Pipelines"
- content_for :page_specific_javascripts do
+ = page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
= render 'head'