]> source.dussan.org Git - redmine.git/commitdiff
Added two new plugin hooks:
authorEric Davis <edavis@littlestreamsoftware.com>
Tue, 10 Feb 2009 01:24:32 +0000 (01:24 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Tue, 10 Feb 2009 01:24:32 +0000 (01:24 +0000)
* :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

app/views/layouts/base.rhtml

index b6d7381311a685dba20e7ce805ab16b59c4d4569..8cb8f5f690506db86644754f2275b5228f247b76 100644 (file)
 <%= 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>