Sha256: a95ec18a626333111bfc694e046fbca7fd61350220b1014830b6260badd4568e

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-gallery-3.1.0 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-3.0.4 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-3.0.3 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-3.0.2 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-3.0.1 app/components/blacklight/gallery/slideshow_preview_component.html.erb
blacklight-gallery-3.0.0 app/components/blacklight/gallery/slideshow_preview_component.html.erb