summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_breadcrumbs.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/_breadcrumbs.html.haml')
-rw-r--r--app/views/layouts/nav/_breadcrumbs.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_breadcrumbs.html.haml b/app/views/layouts/nav/_breadcrumbs.html.haml
index 475d89f1156..cef6e022d2b 100644
--- a/app/views/layouts/nav/_breadcrumbs.html.haml
+++ b/app/views/layouts/nav/_breadcrumbs.html.haml
@@ -3,8 +3,9 @@
%nav.breadcrumbs{ role: "navigation" }
.breadcrumbs-container{ class: [container_class, @content_class] }
- %button.toggle-mobile-nav
- = icon ('bars')
+ - if defined?(@new_sidebar)
+ %button.toggle-mobile-nav
+ = icon ('bars')
.breadcrumbs-links.js-title-container
- unless hide_top_links
.title