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