Sha256: d651abdc21fd8e20a14bccd8b61b3191938a86cb7541a94dd2d35ad0a06c8693

Contents?: true

Size: 1015 Bytes

Versions: 9

Compression:

Stored size: 1015 Bytes

Contents

<% set_html_page_title @search.title %>
<% render partial: 'tophat' %>

<%= 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 %>

<%= 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, @response.documents) %>
<% else %>
  <%= render_document_index(@response.documents) %>
<% end %>
<%= render 'results_pagination' %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-spotlight-3.6.0.beta10 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta9 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta8 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta7 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta6 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta5 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta4 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta3 app/views/spotlight/browse/show.html.erb
blacklight-spotlight-3.6.0.beta1 app/views/spotlight/browse/show.html.erb