diff options
author | Visay Keo <keo@visay.info> | 2015-01-26 08:12:16 +0300 |
---|---|---|
committer | Visay Keo <keo@visay.info> | 2015-01-28 03:24:05 +0300 |
commit | 35d6d1ce4669d1f3850862f3c144abaaf5b841d3 (patch) | |
tree | 169a7e5b8b2e8df8b0060800f5cd73e8b65186a1 /app/views/layouts/application.html.haml | |
parent | 8cc111bd038e4c4d67b835de4a1996c04c6674d6 (diff) |
Fix broadcast message to show up properly with new UI
With the new UI, the broadcast message is the first level child element
of the body tag and then render full width without respecting the width
of the left sidebar. This makes the message goes under the left sidebar
in smaller screen.
This commit fixes the issue by moving the message element into the
"page-with-sidebar" div so it will always render together with the main
content area with same look as before. The rendering for the search,
login and other view without left sidebar remains untouched.
Releases: master, 7-7-stable
Fixes: #1019
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index d40c9753b10..e5420a13605 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,6 +2,5 @@ %html{ lang: "en"} = render "layouts/head", title: "Dashboard" %body{class: "#{app_theme} #{theme_type} application", :'data-page' => body_data_page } - = render "layouts/broadcast" = render "layouts/head_panel", title: "Dashboard" = render 'layouts/page', sidebar: 'layouts/nav/dashboard' |