summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-07 21:42:41 +0100
committerPhil Hughes <me@iamphill.com>2017-07-07 21:42:41 +0100
commit59195b98d3dfef31915c901e86f91cec74d5fbfa (patch)
treeb0eba5f79fdb835c838d75d1d0ff29a261b11387 /app/views/layouts/_page.html.haml
parent436047f6575ffc64f065928d1feb4144ca8f7158 (diff)
parent69e17c225e53feaa7449e468e89aca3f084ab9f9 (diff)
downloadgitlab-ce-59195b98d3dfef31915c901e86f91cec74d5fbfa.tar.gz
Merge branch 'master' into new-nav-fix-contextual-breadcrumbs
Diffstat (limited to 'app/views/layouts/_page.html.haml')
-rw-r--r--app/views/layouts/_page.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index f2c16d82d4f..e90197320f2 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -12,10 +12,13 @@
.content-wrapper{ class: "#{(layout_nav_class unless show_new_nav?)}" }
.alert-wrapper
= render "layouts/broadcast"
+ - if show_new_nav?
+ - if content_for?(:new_global_flash)
+ = yield :new_global_flash
+ - unless @hide_breadcrumbs
+ = render "layouts/nav/breadcrumbs"
= render "layouts/flash"
= yield :flash_message
- - if show_new_nav? && !@hide_breadcrumbs
- = render "layouts/nav/breadcrumbs"
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
.content{ id: "content-body" }
= yield