summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-04 15:47:19 +0100
committerPhil Hughes <me@iamphill.com>2017-09-04 15:47:19 +0100
commit38f15514529865eefd74c3b4618eae23c6eda892 (patch)
treebbee118777998ca9d6cbb808a4f6a29c482877f0 /app/views/layouts
parent3569b2e2d715ffeecf27e26cf3d8c9ec08b8ad49 (diff)
downloadgitlab-ce-38f15514529865eefd74c3b4618eae23c6eda892.tar.gz
fixed dropdown not showing in wiki
spacing updates to expander button sub-title fixes
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/nav/_breadcrumbs.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/layouts/nav/_breadcrumbs.html.haml b/app/views/layouts/nav/_breadcrumbs.html.haml
index 6e2a959b86e..cc2cfff85ba 100644
--- a/app/views/layouts/nav/_breadcrumbs.html.haml
+++ b/app/views/layouts/nav/_breadcrumbs.html.haml
@@ -1,8 +1,8 @@
- container = @no_breadcrumb_container ? 'container-fluid' : container_class
- hide_top_links = @hide_top_links || false
-%nav.breadcrumbs{ role: "navigation" }
- .breadcrumbs-container{ class: [container, @content_class] }
+%nav.breadcrumbs{ role: "navigation", class: [container, @content_class] }
+ .breadcrumbs-container
- if defined?(@new_sidebar)
= button_tag class: 'toggle-mobile-nav', type: 'button' do
%span.sr-only Open sidebar
@@ -14,8 +14,7 @@
- if @breadcrumbs_extra_links
- @breadcrumbs_extra_links.each do |extra|
= breadcrumb_list_item link_to(extra[:text], extra[:link])
- - if defined?(@breadcrumb_dropdown_links) && @breadcrumb_dropdown_links.key?(:after)
- = render "layouts/nav/breadcrumbs/collapsed_dropdown", items: @breadcrumb_dropdown_links[:after]
+ = render "layouts/nav/breadcrumbs/collapsed_dropdown", location: :after
%li
%h2.breadcrumbs-sub-title= @breadcrumb_title
- if content_for?(:breadcrumbs_extra)