summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 10:19:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 10:19:06 +0000
commitf54ecfc55f78f320018514cca7e07eceb896c69d (patch)
treeb43b555d7a3b47790257ee03fcf26859e171cd8d /app/views/layouts
parent45093230a9c6328751a5604983239f6684e7bec7 (diff)
downloadredmine-f54ecfc55f78f320018514cca7e07eceb896c69d.tar.gz
redmine-f54ecfc55f78f320018514cca7e07eceb896c69d.zip
Fixed that sidebar with hook content only should not be hidden.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9598 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/base.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb
index fdb8aff7d..57470c2c5 100644
--- a/app/views/layouts/base.html.erb
+++ b/app/views/layouts/base.html.erb
@@ -56,10 +56,10 @@
<% end %>
</div>
-<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
+<%= tag('div', {:id => 'main', :class => (sidebar_content? ? '' : 'nosidebar')}, true) %>
<div id="sidebar">
<%= yield :sidebar %>
- <%= call_hook :view_layouts_base_sidebar %>
+ <%= view_layouts_base_sidebar_hook_response %>
</div>
<div id="content">