Sha256: a0a5b50f2b209b540135f112eb2bf9b44f92f28ed3adfa2a653e9e14cf51cb85

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 Bytes

Contents

<% component = Blacklight::VERSION > '8' ?
  Blacklight::DocumentComponent.new(classes: 'slideshow-preview-thumbnail', component: :div, document: @presenter, counter: @counter) :
  Blacklight::DocumentComponent.new(classes: 'slideshow-preview-thumbnail', component: :div, document: @document, presenter: @presenter, counter: @counter)
%> 
<%= render(component) do |component| %>
  <% component.with_body do %>
    <%= @view_context.link_to_document(@document, thumbnail, class: 'thumbnail', data: { 'context-href': nil, 'slide-to': @document_counter, toggle: "modal", target: "#slideshow-modal" }) %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-gallery-4.4.1/app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-4.4.1 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-4.4.0 app/components/blacklight/gallery/slideshow_preview_component.html.erb