Sha256: 800dc09e51b24ff979b6f8d4d44dfc7474255501c4909db5fe7d7993a15c8e21

Contents?: true

Size: 1.23 KB

Versions: 13

Compression:

Stored size: 1.23 KB

Contents

<div id="sidebar" class="col-md-3">
 <%= render 'search_sidebar' %>
</div>

<div id="content" class="col-md-9">

    <% unless has_search_parameters? %>
	    <%# if there are no input/search related params, display the "home" partial -%>
	    <%= render 'home' %>
    <% else %>

      <h2 class="sr-only top-content-title"><%= t('blacklight.search.search_results_header') %></h2>

      <% @page_title = t('blacklight.search.title', :application_name => application_name) %>


      <% content_for(:head) do -%>
        <%= render_opensearch_response_metadata %>
        <%= auto_discovery_link_tag(:rss, url_for(params.merge(:format => 'rss')), :title => t('blacklight.search.rss_feed') ) %>
        <%= auto_discovery_link_tag(:atom, url_for(params.merge(:format => 'atom')), :title => t('blacklight.search.atom_feed') ) %>
      <% end -%>


      <%= render 'search_header' %>

      <h2 class="sr-only"><%= t('blacklight.search.search_results') %></h2>

      <%- if @response.empty? %>
        <%= render "zero_results" %>
      <%- elsif render_grouped_response? %>
        <%= render_grouped_document_index %>
      <%- else %>
        <%= render_document_index %>
      <%- end %>

	    <%= render 'results_pagination' %>


    <% end %>

</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
blacklight-5.4.0 app/views/catalog/index.html.erb
blacklight-5.4.0.rc1 app/views/catalog/index.html.erb
blacklight-5.3.0 app/views/catalog/index.html.erb
blacklight-5.0.3 app/views/catalog/index.html.erb
blacklight-5.1.1 app/views/catalog/index.html.erb
blacklight-5.2.0 app/views/catalog/index.html.erb
blacklight-5.1.0 app/views/catalog/index.html.erb
blacklight-5.0.2 app/views/catalog/index.html.erb
blacklight-5.0.1 app/views/catalog/index.html.erb
blacklight-5.0.0 app/views/catalog/index.html.erb
blacklight-5.0.0.pre4 app/views/catalog/index.html.erb
blacklight-5.0.0.pre3 app/views/catalog/index.html.erb
blacklight-5.0.0.pre2 app/views/catalog/index.html.erb