Sha256: 811d6f17fc29b90b3fde5c19dd145cb8ca23f34711e519f415bcaf345138febd
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
<% body_content_title = (title = yield :body_content_title).blank? ? page_title : title body_content_left = (body_content_left = yield :body_content_left).blank? ? @page[:body] : body_content_left body_content_right = (body_content_right = yield :body_content_right).blank? ? @page[:side_body] : body_content_right extra_body_content_classes = [] extra_body_content_classes << "no_title" if body_content_title.blank? extra_body_content_classes << "no_left" if body_content_left.blank? extra_body_content_classes << "no_right" if body_content_right.blank? -%> <%= render :partial => "/shared/submenu" if !admin? and (show_submenu ||= true) and RefinerySetting.find_or_set(:show_submenu_on_content_pages, true) %> <div id='body_content' class='clearfix<%= " #{extra_body_content_classes.join(" ")}" unless extra_body_content_classes.empty? %>'> <% unless body_content_title.blank? and !(show_empty_sections ||= false) -%> <h1 id='body_content_page_title'> <%= body_content_title %> </h1> <% end -%> <% unless body_content_left.blank? and !(show_empty_sections ||= false) -%> <div id='body_content_left' class='clearfix'> <%= body_content_left %> </div> <% end -%> <% unless body_content_right.blank? and !(show_empty_sections ||= false) -%> <div id='body_content_right' class='clearfix'> <%= body_content_right %> </div> <% end -%> </div> <% unless @page.live? -%> <div class='page_not_live'> This page is NOT live for public viewing. </div> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-0.9.6.5 | vendor/plugins/refinery/app/views/shared/_content_page.html.erb |
refinerycms-0.9.6.4 | vendor/plugins/refinery/app/views/shared/_content_page.html.erb |