Sha256: a9f34f9275d6e154eae2acae3cca17d48230d596f3c776affe23240e7b2bac37

Contents?: true

Size: 781 Bytes

Versions: 4

Compression:

Stored size: 781 Bytes

Contents

<%-
  # Compare with render_document_functions_partial helper, and
  # _document_functions partial. BL actually has two groups
  # of document-related tools. "document functions" by default
  # contains Bookmark functionality shown on both results and
  # item view. While "document tools" contains external export type
  # functions by default only on detail.

-%>
<% if show_doc_actions? %>
  <div class="card show-tools">
    <div class="card-header">
      <h2 class="mb-0 h6"><%= t('blacklight.tools.title') %></h2>
    </div>

    <ul class="list-group list-group-flush">
      <%= render_show_doc_actions @document do |config, inner| %>
        <li class="list-group-item <%= config.key %>">
          <%= inner %>
        </li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-7.1.0.alpha app/views/catalog/_show_tools.html.erb
blacklight-7.0.1 app/views/catalog/_show_tools.html.erb
blacklight-7.0.0 app/views/catalog/_show_tools.html.erb
blacklight-7.0.0.rc2 app/views/catalog/_show_tools.html.erb