Sha256: b59552a38334c7658161678909f3e20774cfea1444223fdec4eed07eb3f4a3b6

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 KB

Contents

<% provide :page_title, "#{application_name} Search Results" %>
<% provide :page_class, 'search' %>
<% provide :page_header do %>
  <%= render 'navbar' %>
<% end %>

<% provide :sidebar do %>
  <%= render 'search_sidebar' %>
<% end %>

<div id="content">

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


      <% provide(: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

6 entries across 6 versions & 2 rubygems

Version Path
curation_concerns-0.1.0 app/views/catalog/index.html.erb
worthwhile-0.1.2 app/views/catalog/index.html.erb
worthwhile-0.1.1 app/views/catalog/index.html.erb
worthwhile-0.1.0 app/views/catalog/index.html.erb
worthwhile-0.0.3 app/views/catalog/index.html.erb
worthwhile-0.0.2 app/views/catalog/index.html.erb