Sha256: 15a8b5050cbb039e9cae20fbcdf2f0b658897180578f7bf0c9d7e957325638b0

Contents?: true

Size: 871 Bytes

Versions: 5

Compression:

Stored size: 871 Bytes

Contents

<% if render_show_doc_actions_method_from_blacklight? %>
  <%= render(Blacklight::Document::ActionsComponent.new(document: nil, tag: 'ul', classes: "#{controller_name}Tools nav nav-pills", wrapping_tag: 'li', wrapping_classes: 'nav-item', actions: document_actions(document_list, options: { document: nil }), options: { document_list: @response.documents }, url_opts: Blacklight::Parameters.sanitize(params.to_unsafe_h))) %>
<% else %>
  <% Deprecation.warn(self, '#render_show_doc_actions is deprecated; use ActionComponents instead') %>
  <ul class="<%= controller_name %>Tools nav nav-pills">
    <%= render_show_doc_actions document_list, document: nil, document_list: @response.documents, url_opts: Blacklight::Parameters.sanitize(params.to_unsafe_h) do |config, inner| %>
      <li class="nav-item">
        <%= inner %>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-7.15.2 app/views/bookmarks/_tools.html.erb
blacklight-7.15.1 app/views/bookmarks/_tools.html.erb
blacklight-7.15.0 app/views/bookmarks/_tools.html.erb
blacklight-7.14.1 app/views/bookmarks/_tools.html.erb
blacklight-7.14.0 app/views/bookmarks/_tools.html.erb