app/views/spotlight/pages/show.html.erb in blacklight-spotlight-0.4.1 vs app/views/spotlight/pages/show.html.erb in blacklight-spotlight-0.5.0

- old
+ new

@@ -1,20 +1,20 @@ <% set_html_page_title @page.title if @page.should_display_title? %> <% render 'tophat' %> <%= render 'sidebar' if @page.display_sidebar? %> <%= cache_unless current_user, @page do %> -<div class="<%= 'col-md-9' if @page.display_sidebar? %>"> +<div class="<%= @page.display_sidebar? ? 'col-md-9' : 'col-md-12' %>"> <div class="clearfix"> <%= render 'edit_page_link' if can? :edit, @page %> <% if @page.should_display_title? %> <h1 class="page-title"> <%= @page.title %> </h1> <% end %> </div> <div> - <% if @page.has_content? %> + <% if @page.content? %> <%= render @page.content %> <% else %> <%= render 'empty' %> <% end %> </div>