Sha256: 0aa93c9350c8515717321ef282ca3583933b782b2cad38d3faaab513c12b7aab

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

<% @page_title = "#{@collection.title} - #{application_name}" %>

<%= render_breadcrumbs builder: Sufia::BootstrapBreadcrumbsBuilder %>

  <div itemscope itemtype="http://schema.org/CollectionPage" class="row">
    <div class="col-sm-10 pull-right">
      <header>
        <h1><%= @presenter.title %></h1>
        <p class="collection_description"><%= @presenter.description %></p>
      </header>
      <% unless has_collection_search_parameters? %>
      <%= render 'collections/show_descriptions' %>
      <% end %>
    </div>
    <div class="col-sm-2">
      <%= render partial: 'collections/media_display', locals: { generic_file: @collection } %>
      <% unless has_collection_search_parameters? %>
      <%= render partial: 'collections/show_actions' %>
      <% end %>
    </div>
  </div>

<%= render 'sort_and_per_page' %>

<% if has_collection_search_parameters? %>
    <% header_title = "Search Results within this Collection" %>
<% else %>
    <% header_title = "Items in this Collection" %>
<% end %>

<div>
  <!-- Use CSS class h2 rather than HTML h2 tag to allow header and search box to align vertically -->
  <span class="h2"><%= header_title %></span>
  <%= render partial: 'search_form'%>
</div>

<%= render_document_index @member_docs %>

<%= render partial: 'paginate' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-6.2.0 app/views/collections/show.html.erb
sufia-6.1.0 app/views/collections/show.html.erb
sufia-6.0.0 app/views/collections/show.html.erb
sufia-6.0.0.rc4 app/views/collections/show.html.erb
sufia-6.0.0.rc3 app/views/collections/show.html.erb