Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-02 10:34:36 +0300
committerMike Greiling <mike@pixelcog.com>2017-03-04 01:47:38 +0300
commitec9180719ef3d8a3d2aa6bc67b2ec31f91c57613 (patch)
treedcbaaea460d4e6fd902ff151f1352bf9bf555214 /app/views/projects/graphs
parent1f9743310054273b98e423b6dc5e99a5bc9fd7a2 (diff)
create a cacheable commons bundle for d3 library
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r--app/views/projects/graphs/charts.html.haml1
-rw-r--r--app/views/projects/graphs/show.html.haml1
2 files changed, 2 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'