aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-13 20:05:18 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-13 20:05:18 +0100
commit8e4524397eb89318e2846dfe0005a2ba45bc9457 (patch)
tree93f68b2d3307b8f64187444a769a92cebf135caa
parente0182878038f0be47c78a17c313cb2f81a71358a (diff)
downloadhmnoweb-8e4524397eb89318e2846dfe0005a2ba45bc9457.tar.gz
hmnoweb-8e4524397eb89318e2846dfe0005a2ba45bc9457.tar.bz2
hmnoweb-8e4524397eb89318e2846dfe0005a2ba45bc9457.zip
Revert "Drop Sjefen-melder section."
This reverts commit 9859504bb8a1dd94dbd2eb33984c00d11041d2e1.
-rw-r--r--app/views/common/_right_sidebar.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb
index 3bf03af..15dfb83 100644
--- a/app/views/common/_right_sidebar.html.erb
+++ b/app/views/common/_right_sidebar.html.erb
@@ -1,4 +1,10 @@
<div id="right_sidebar">
+ <% if page_has_side_body?(@page) %>
+ <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" %>