Sha256: f74f05f781e1defc9eddb4a82a5d0da6088ece022a75169ffd3c42c79cb1d628

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

<% set_html_page_title @search.title %>
<% render partial: 'tophat' %>
<div class="col-md-12">
  <%= exhibit_edit_link @search, class: 'edit-button float-right btn btn-primary' if can? :edit, @search %>
  <% if resource_masthead? %>
    <% content_for :masthead do %>
      <%= render 'search_title', search: @search %>
    <% end %>
  <% else %>
    <h1><%= render 'search_title', search: @search %></h1>
  <% end %>
  <% if @search.long_description.present? %>
    <div class="long-description-text <%= 'very-long-description-text' if @search.long_description.length > 600 %>">
      <%= render_markdown @search.long_description %>
    </div>
  <% end %>
</div>

<div class="col-md-12">
  <%= render 'sort_and_per_page' %>
  <% if @search.search_box? %>
    <%= render partial: 'search_box', locals: {search: @search} %>
  <% end %>
  <% if @search.default_index_view_type && params[:view].blank? %>
    <%= render_document_index_with_view(@search.default_index_view_type, @document_list) %>
  <% else %>
    <%= render_document_index(@document_list) %>
  <% end %>
  <%= render 'results_pagination' %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.3 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.0.0.alpha.2 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.0.0.alpha.1 app/views/spotlight/browse/show.html.erb