Sha256: fbe3086d4e4449a7ca236351998796d7e57db9ffe38571e200a8ee1cd959473a
Contents?: true
Size: 1.71 KB
Versions: 25
Compression:
Stored size: 1.71 KB
Contents
<% show_empty_sections ||= false remove_automatic_sections ||= false body_content_title = page_title if (body_content_title = yield :body_content_title).blank? and !show_empty_sections and !remove_automatic_sections body_content_left = @page[:body] if (body_content_left = yield :body_content_left).blank? and !show_empty_sections and !remove_automatic_sections body_content_right = @page[:side_body] if (body_content_right = yield :body_content_right).blank? and !show_empty_sections and !remove_automatic_sections 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(" ")}" if extra_body_content_classes.any? %>'> <% if body_content_title.present? or (show_empty_sections and !remove_automatic_sections) -%> <h1 id='body_content_page_title'> <%= body_content_title %> </h1> <% end -%> <% if body_content_left.present? or (show_empty_sections and !remove_automatic_sections) -%> <div id='body_content_left' class='clearfix'> <%= body_content_left %> </div> <% end -%> <% if body_content_right.present? or (show_empty_sections and !remove_automatic_sections) -%> <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
25 entries across 25 versions & 2 rubygems