Sha256: 94d066f19e986f786da1ba345b9fbf99ef760861add96d285cb20051c83494cc

Contents?: true

Size: 1.23 KB

Versions: 11

Compression:

Stored size: 1.23 KB

Contents

<% content_for :page_title, "#{application_name} Search Results" %>
<% content_for :page_class, 'search' %>
<% content_for :page_header do %>
  <div class="navbar">
    <div class="navbar-inner">
      <ul class="nav">
        <%= type_tab 'Works', 'Work' %>
        <%= type_tab 'Collections', 'Collection' %>
        <%= type_tab 'People', 'Person' %>
        <%= all_type_tab %>
      </ul>
    </div>
  </div>
<% end %>
<% content_for :sidebar do %>

  <%= render 'facets' %>

<% end %>

<% if has_search_parameters? %>
  <div class="alert alert-info search-constraints">
    <i class="icon-search icon-large"></i>
    Limited to:
      <%= render_constraints(params) %>
  </div>

  <%= render :partial => 'did_you_mean' %>
  <%= render :partial => 'facet_selected' %>

  <div class="row">
    <div class="span9">
      <%= render_pagination_info @response, :entry_name=>'item' %>
      <%= render 'sort_and_per_page' %>
    </div>
  </div>

<%= render 'results_pagination' %>

<%= render 'document_list' %>

<%= render 'results_pagination' %>

<% else %>

  <% if current_user %>

    <%= render 'results_pagination' %>

    <%= render 'document_list' %>

    <%= render 'results_pagination' %>

  <% else %>
    <%= render 'home' %>
  <% end %>

<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
curate-0.6.5 app/views/catalog/index.html.erb
curate-0.6.4 app/views/catalog/index.html.erb
curate-0.6.3 app/views/catalog/index.html.erb
curate-0.6.1 app/views/catalog/index.html.erb
curate-0.6.0 app/views/catalog/index.html.erb
curate-0.5.6 app/views/catalog/index.html.erb
curate-0.5.5 app/views/catalog/index.html.erb
curate-0.5.4 app/views/catalog/index.html.erb
curate-0.5.2 app/views/catalog/index.html.erb
curate-0.5.1 app/views/catalog/index.html.erb
curate-0.5.0 app/views/catalog/index.html.erb