Sha256: 32d7fbc4f9a19bda4d517bfcc5e78881c6d723a07a52479a874b9e5febd615e9

Contents?: true

Size: 887 Bytes

Versions: 5

Compression:

Stored size: 887 Bytes

Contents

<%# show the previous and next links as carousel controls for multi-img objects %>
<%= link_to('&lsaquo;'.html_safe,
            image_viewer_path(@document.id,
                              :view => page_sequence[:prev]),
            :class => 'left carousel-control prev_next',
            :id => 'carousel-nav_prev',
            :title => t('blacklight.images.prev'),
            :data => { :viewer => page_sequence[:prev] },
            :remote => true) if page_sequence[:prev] %>
<%= link_to('&rsaquo;'.html_safe,
            image_viewer_path(@document.id,
                              :view => page_sequence[:next]),
            :class => 'right carousel-control prev_next',
            :id => 'carousel-nav_next',
            :title => t('blacklight.images.next'),
            :data => { :viewer => page_sequence[:next] },
            :remote => true) if page_sequence[:next] %>

Version data entries

5 entries across 5 versions & 1 rubygems

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