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
This commit is contained in:
Jean-Philippe Lang committed 2012-05-01 10:19:06 +00:00
1 parent 45093230a9
commit f54ecfc55f
4 files changed
+77 -21

No files matched your search

+2 -2
View File
@@ -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">