diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-10 01:24:32 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-10 01:24:32 +0000 |
commit | a3fa56d98892650582843e7910586a064b78bba0 (patch) | |
tree | 7adeb71c6279bbd3f0edfec77d6b59648ea65c8b /app/views/layouts/base.rhtml | |
parent | 0d01e07430e324df51fece1e9b838e2dd2c17632 (diff) | |
download | redmine-a3fa56d98892650582843e7910586a064b78bba0.tar.gz redmine-a3fa56d98892650582843e7910586a064b78bba0.zip |
Added two new plugin hooks:
* :view_layouts_base_sidebar
* :view_layouts_base_content
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2428 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts/base.rhtml')
-rw-r--r-- | app/views/layouts/base.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index b6d738131..8cb8f5f69 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -47,11 +47,13 @@ <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> <div id="sidebar"> <%= yield :sidebar %> + <%= call_hook :view_layouts_base_sidebar %> </div> <div id="content"> <%= render_flash_messages %> <%= yield %> + <%= call_hook :view_layouts_base_content %> </div> </div> |