Sha256: 4b0612d3304aa4d0778b1fef72d8f79263005becd5f393356ef5e765d25143cd

Contents?: true

Size: 985 Bytes

Versions: 10

Compression:

Stored size: 985 Bytes

Contents

<% document = @document if local_assigns[:document].nil? %>
<% if show_doc_actions? document %>
  <div class="card show-tools">
    <div class="card-header">
      <h2 class="mb-0 h6"><%= t('blacklight.tools.title') %></h2>
    </div>
    <% if render_show_doc_actions_method_from_blacklight? %>
      <%= render(Blacklight::Document::ActionsComponent.new(document: document, tag: 'ul', classes: 'list-group list-group-flush', wrapping_tag: 'li', wrapping_classes: 'list-group-item', actions: document_actions(document), url_opts: Blacklight::Parameters.sanitize(params.to_unsafe_h))) %>
    <% else %>
      <% Deprecation.warn(self, '#render_show_doc_actions is deprecated; use ActionComponents instead') %>
      <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>
    <% end %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
blacklight-7.40.0 app/views/catalog/_show_tools.html.erb
blacklight-7.39.0 app/views/catalog/_show_tools.html.erb
blacklight-7.38.0 app/views/catalog/_show_tools.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/views/catalog/_show_tools.html.erb
blacklight-7.37.0 app/views/catalog/_show_tools.html.erb
blacklight-7.36.2 app/views/catalog/_show_tools.html.erb
blacklight-7.36.1 app/views/catalog/_show_tools.html.erb
blacklight-7.36.0 app/views/catalog/_show_tools.html.erb
blacklight-7.35.0 app/views/catalog/_show_tools.html.erb
blacklight-7.34.0 app/views/catalog/_show_tools.html.erb