summaryrefslogtreecommitdiff
path: root/app/views/projects/settings/repository
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-07-19 16:24:49 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-07-19 16:24:49 +0000
commitf6ec2816794dc2708c34a96541082facd782573f (patch)
tree9afc1fdad2a3316c82e3cd254b5327e45effcb4d /app/views/projects/settings/repository
parentc6e979587af7cf8d85b4e97a8771d44aa04f3ef4 (diff)
parent46b38e4bbd08ecf9ce0c6ea7c39e3ab3c0045dc8 (diff)
downloadgitlab-ce-f6ec2816794dc2708c34a96541082facd782573f.tar.gz
Merge branch 'new-nav-fix-contextual-breadcrumbs' into 'master'
Contextual breadcrumb title fixes Closes #34030 and #34033 See merge request !12602
Diffstat (limited to 'app/views/projects/settings/repository')
-rw-r--r--app/views/projects/settings/repository/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/settings/repository/show.html.haml b/app/views/projects/settings/repository/show.html.haml
index 0f20ecf8c69..cb37f3c7580 100644
--- a/app/views/projects/settings/repository/show.html.haml
+++ b/app/views/projects/settings/repository/show.html.haml
@@ -1,5 +1,9 @@
- page_title "Repository"
- @content_class = "limit-container-width" unless fluid_layout
+
+- if show_new_nav?
+ - add_to_breadcrumbs("Settings", edit_project_path(@project))
+
= render "projects/settings/head"
- content_for :page_specific_javascripts do