aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_right_sidebar.html.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb
index 023730d..3b17356 100644
--- a/app/views/common/_right_sidebar.html.erb
+++ b/app/views/common/_right_sidebar.html.erb
@@ -1,5 +1,10 @@
<div id="right_sidebar">
- <%= raw @page.content_for(:side_body) %>
+ <% unless @page.part_with_title("Side Body").body.empty? %>
+ <div class="sidebar_module">
+ <h1>Sjefen melder</h1>
+ <div class="inner"><%= raw @page.content_for(:side_body) %></div>
+ </div>
+ <% end %>
<%= render_sidebar_modules @sidebar_modules, :position => 2 %>
<%= render "/refinery/blog/shared/rss_feed" %>
<%= render "/refinery/blog/shared/categories" %>