diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 751ac17a..4d2765f5 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -22,9 +22,9 @@ %body{:class => body_class} #container = yield :before_title + = render 'static/announcement' - if content_for?(:title) && show_title_header? %h1#title= yield :title - = render 'static/announcement' = yield :before_flashes = flashes diff --git a/app/views/static/_announcement.html b/app/views/static/_announcement.html index e69de29b..5cb28053 100644 --- a/app/views/static/_announcement.html +++ b/app/views/static/_announcement.html @@ -0,0 +1,10 @@ +