Sha256: 57e5da85b82ae5f043b70dbc7bd10892a89d1b44e748d96c3700c2470bcb690f

Contents?: true

Size: 642 Bytes

Versions: 44

Compression:

Stored size: 642 Bytes

Contents

<% set_html_page_title @page.title if @page.should_display_title? %>
<% render 'tophat' %>

<% content_for(:sidebar) do %>
  <%= render 'sidebar' %>
<% end if @page.display_sidebar?%>

<%= cache_unless current_user, [current_exhibit, @page, I18n.locale, request.query_string] do %>
  <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.content? %>
      <%= render @page.content %>
    <% else %>
      <%= render 'empty' %>
    <% end %>
  </div>
<% end %>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.3 app/views/spotlight/pages/show.html.erb
blacklight-spotlight-3.0.2 app/views/spotlight/pages/show.html.erb
blacklight-spotlight-3.0.1 app/views/spotlight/pages/show.html.erb
blacklight-spotlight-3.0.0 app/views/spotlight/pages/show.html.erb