diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-06 17:24:03 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-06 17:24:03 +0100 |
commit | c85df8105e3b8982ecf6a16f8ae9f3af2f130030 (patch) | |
tree | 099acdacb9e622db8780c520faff649e2a6cf27d /app/views/projects/compare | |
parent | 6d3a9cc98e1503b0ef49906833aab094a8e6b686 (diff) | |
download | gitlab-ce-c85df8105e3b8982ecf6a16f8ae9f3af2f130030.tar.gz |
improvements to breadcrumb titles, links & nesting
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r-- | app/views/projects/compare/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/compare/show.html.haml | 2 |
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 } |