Sha256: 496ebe9c20a6316cdc95e22adc3c9aa14ac0068ce4ec17bb9835263b0b16ea27
Contents?: true
Size: 919 Bytes
Versions: 45
Compression:
Stored size: 919 Bytes
Contents
<% if show_doc_actions? %> <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
45 entries across 45 versions & 1 rubygems