summaryrefslogtreecommitdiff
path: root/app/views/projects/commits
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/commits
parent6d3a9cc98e1503b0ef49906833aab094a8e6b686 (diff)
downloadgitlab-ce-c85df8105e3b8982ecf6a16f8ae9f3af2f130030.tar.gz
improvements to breadcrumb titles, links & nesting
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r--app/views/projects/commits/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml
index 7ed7e441344..a824af14171 100644
--- a/app/views/projects/commits/show.html.haml
+++ b/app/views/projects/commits/show.html.haml
@@ -4,6 +4,9 @@
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
+- if show_new_nav?
+ - breadcrumbs_extra_links("Repository", project_files_path(@project))
+
= content_for :sub_nav do
= render "head"