summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-06 17:24:03 +0100
committerPhil Hughes <me@iamphill.com>2017-07-06 17:24:03 +0100
commitc85df8105e3b8982ecf6a16f8ae9f3af2f130030 (patch)
tree099acdacb9e622db8780c520faff649e2a6cf27d /app/views/projects/graphs
parent6d3a9cc98e1503b0ef49906833aab094a8e6b686 (diff)
downloadgitlab-ce-c85df8105e3b8982ecf6a16f8ae9f3af2f130030.tar.gz
improvements to breadcrumb titles, links & nesting
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r--app/views/projects/graphs/charts.html.haml2
-rw-r--r--app/views/projects/graphs/show.html.haml4
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/graphs/charts.html.haml b/app/views/projects/graphs/charts.html.haml
index 79872c4ea69..f873f629937 100644
--- a/app/views/projects/graphs/charts.html.haml
+++ b/app/views/projects/graphs/charts.html.haml
@@ -1,6 +1,8 @@
- @no_container = true
- @breadcrumb_title = "Charts"
- page_title "Charts"
+- if show_new_nav?
+ - breadcrumbs_extra_links("Repository", project_files_path(@project))
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml
index 239a189caef..67383a23423 100644
--- a/app/views/projects/graphs/show.html.haml
+++ b/app/views/projects/graphs/show.html.haml
@@ -4,6 +4,10 @@
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
+
+- if show_new_nav?
+ - breadcrumbs_extra_links("Repository", project_files_path(@project))
+
= render 'projects/commits/head'
%div{ class: container_class }