Sha256: 930dd06fb91093a088fa2f518b858c592a27d5b4a64367d665dc04b9588e9dd1

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

<%# based on blacklight/app/views/catalog/_index_header_default.html.erb %>
<%# header bar for doc items in index view -%>
<div class="documentHeader row">
  <%# main title container for doc partial view
      How many bootstrap columns need to be reserved
      for bookmarks control depends on size.
  -%>
  <% document_actions = capture do %>
      <% # bookmark functions for items/docs -%>
      <%= render_index_doc_actions document, wrapping_class: "index-document-functions col-sm-3 col-lg-2" %>
  <% end %>
  <h3 class="index_title document-title-heading <%= document_actions.present? ? "col-sm-9 col-lg-10" : "col-md-12" %>">
    <% if counter = document_counter_with_offset(document_counter) %>
      <span class="document-counter">
        <%= t('blacklight.search.documents.counter', counter: counter) %>
      </span>
    <% end %>
    <%= link_to document.title_or_label,
                hyrax_newspaper_article_path(document.id,
                                             anchor: iiif_search_anchor(current_search_session.query_params)) %>
  </h3>
  <%= document_actions %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 app/views/catalog/_index_header_gallery_newspaper_article.html.erb
newspaper_works-1.0.0 app/views/catalog/_index_header_gallery_newspaper_article.html.erb
newspaper_works-0.1.0 app/views/catalog/_index_header_gallery_newspaper_article.html.erb