Sha256: e180ba5adefcfa1b709b24e7bb3668e0161802b5f195e65aca0d23c31a805c55

Contents?: true

Size: 937 Bytes

Versions: 5

Compression:

Stored size: 937 Bytes

Contents

<%# local override adding links to doc thumb and title %>
<div class="item<%= ' active' if document_counter == 0 %>">
  <div class="frame">
    <% img = image_tag index_slideshow_img_url(document),
                       :alt => document[blacklight_config.index.title_field.to_sym] %>
    <%= link_to_document document, img, counter: document_counter_with_offset(document_counter) %>
    <div class="caption">
      <%= link_to_document document,
                           truncate(render_main_title(document),
                                    separator: ' ',
                                    length: index_title_length) + index_relation_base_icon(document),
                           counter: document_counter_with_offset(document_counter) %>
    </div>
      <span class="counter">
        <%= t :'blacklight_gallery.catalog.modal_slideshow.counter', counter: document_counter + 1, count: count %>
      </span>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.7 app/views/catalog/_index_slideshow.html.erb
commonwealth-vlr-engine-0.0.4 app/views/catalog/_index_slideshow.html.erb
commonwealth-vlr-engine-0.0.3 app/views/catalog/_index_slideshow.html.erb
commonwealth-vlr-engine-0.0.2 app/views/catalog/_index_slideshow.html.erb
commonwealth-vlr-engine-0.0.1 app/views/catalog/_index_slideshow.html.erb