Sha256: 9cb07354ff51503f70d6fd3d37acc5767fe7a37a6355d41153bc99ceb7373f3b

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

<% content_for :page_title, "#{application_name} Search Results" %>
<% content_for :page_class, 'search' %>
<% content_for :page_header do %>
  <%= render 'navbar' %>
<% end %>
<% content_for :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) %>


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

1 entries across 1 versions & 1 rubygems

Version Path
worthwhile-0.0.1 app/views/catalog/index.html.erb