Sha256: 4756af387317ee2d0dccc37734eb2dc8e7a5fcf01ecd5570161f5154b9fdf444

Contents?: true

Size: 1.34 KB

Versions: 7

Compression:

Stored size: 1.34 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><%= @collection.title %></h1>
        <p class="collection_description"><%=@collection.description%></p>
      </header>
      <% unless has_collection_search_parameters? %>
      <%= render partial: 'collections/show_descriptions', locals: { generic_file: @collection } %>
      <% 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>

<% @user ||= current_user %>
<%= render_document_index @member_docs %>

<%= render partial: 'paginate' %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/collections/show.html.erb
sufia-5.0.0.rc1 app/views/collections/show.html.erb
sufia-4.3.1 app/views/collections/show.html.erb
sufia-4.2.0 app/views/collections/show.html.erb
sufia-4.1.0 app/views/collections/show.html.erb
sufia-4.0.1 app/views/collections/show.html.erb
sufia-4.0.0 app/views/collections/show.html.erb