Sha256: a0541caa50e15fae96055cec0618532026cff6e8c01bd0456d939983cab1f5f8

Contents?: true

Size: 514 Bytes

Versions: 41

Compression:

Stored size: 514 Bytes

Contents

<% value = use_thumbnail_tag_behavior? ? presenter.thumbnail.thumbnail_tag(@image_options, 'aria-hidden': true, tabindex: -1, counter: @counter) : presenter.thumbnail.render(@image_options) %>

<% if value %>
  <div class="document-thumbnail">
    <% if use_thumbnail_tag_behavior? %>
      <% warn_about_deprecated_behavior %>
      <%= value %>
    <% else %>
      <%= helpers.link_to_document(presenter.document, value, 'aria-hidden': true, tabindex: -1, counter: @counter) %>
    <% end %>
  </div>
<% end %>

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
blacklight-7.18.0 app/components/blacklight/document/thumbnail_component.html.erb