Sha256: 147ee5a13cbf72e06d3e06c1d88dfb3966f700169081304b8f10c8ccc15c70dd

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-7.13.2 app/components/blacklight/document/thumbnail_component.html.erb
blacklight-7.13.1 app/components/blacklight/document/thumbnail_component.html.erb
blacklight-7.13.0 app/components/blacklight/document/thumbnail_component.html.erb
blacklight-7.12.1 app/components/blacklight/document/thumbnail_component.html.erb
blacklight-7.12.0 app/components/blacklight/document/thumbnail_component.html.erb