summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_page.html.haml')
-rw-r--r--app/views/layouts/_page.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index ca9c2a0bf2e..ad8a2e1e6c7 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -22,13 +22,13 @@
= image_tag avatar_icon(current_user, 60), alt: 'Profile', class: 'avatar avatar s36'
.username
= current_user.username
+ - if defined?(nav) && nav
+ .layout-nav
+ .container-fluid
+ = render "layouts/nav/#{nav}"
.content-wrapper
= render "layouts/flash"
= yield :flash_message
- - if defined?(nav) && nav
- .layout-nav
- %div{ class: container_class }
- = render "layouts/nav/#{nav}"
%div{ class: (container_class unless @no_container) }
.content
.clearfix