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:
authorPhil Hughes <me@iamphill.com>2017-07-06 19:24:03 +0300
committerPhil Hughes <me@iamphill.com>2017-07-06 19:24:03 +0300
commitc85df8105e3b8982ecf6a16f8ae9f3af2f130030 (patch)
tree099acdacb9e622db8780c520faff649e2a6cf27d /app/views/projects/compare
parent6d3a9cc98e1503b0ef49906833aab094a8e6b686 (diff)
improvements to breadcrumb titles, links & nesting
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r--app/views/projects/compare/index.html.haml2
-rw-r--r--app/views/projects/compare/show.html.haml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/compare/index.html.haml b/app/views/projects/compare/index.html.haml
index 2cf14859f30..d71bc88298b 100644
--- a/app/views/projects/compare/index.html.haml
+++ b/app/views/projects/compare/index.html.haml
@@ -1,5 +1,7 @@
- @no_container = true
- page_title "Compare"
+- if show_new_nav?
+ - breadcrumbs_extra_links("Repository", project_files_path(@project))
= render "projects/commits/head"
%div{ class: container_class }
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index a1bca2cf83a..db722554f1a 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -1,5 +1,7 @@
- @no_container = true
- page_title "#{params[:from]}...#{params[:to]}"
+- if show_new_nav?
+ - breadcrumbs_extra_links("Repository", project_files_path(@project))
= render "projects/commits/head"
%div{ class: container_class }