Sha256: c8c8654f88cb9dd81267d3b4bb80b2c0167c51669afb872362adc1952f3180a9

Contents?: true

Size: 1.84 KB

Versions: 21

Compression:

Stored size: 1.84 KB

Contents

<% if @product_images.size > 0 %>
  <div class="modal fade" id="picturesModal" tabindex="-1" role="dialog">
    <div class="modal-dialog--zoom modal-dialog mw-100 vh-100 mt-0 mb-0" role="document">
      <div class="modal-content h-100">
        <div class="modal-body h-100">
          <button type="button" class="close position-absolute mr-3" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">
              <%= icon(name: 'close',
                       classes: 'd-block d-lg-none',
                       width: 16,
                       height: 16) %>
              <%= icon(name: 'close',
                       classes: 'd-none d-lg-block',
                       width: 30,
                       height: 30) %>
            </span>
          </button>
          <div class="d-flex justify-content-center align-items-center product-details-images h-100">
            <% if @product_images.size > 1 %>
              <div class="h-100 d-none d-sm-block product-details-thumbnails">
                <%= render 'spree/shared/carousel/thumbnails',
                            images: @product_images,
                            group_id: 'main-product-modal-carousel',
                            id: 'productModalThumbnailsCarousel',
                            trigger_id: 'productCarousel',
                            per_page: 4 %>
              </div>
            <% end %>
            <div class="product-details-single">
              <%= render 'spree/shared/carousel/single',
                          images: @product_images,
                          group_id: 'main-product-modal-carousel',
                          id: 'productModalCarousel',
                          trigger_id: 'productCarousel',
                          zoomed: true %>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spree_frontend-4.2.7 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.3 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.7.0 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.6.0 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.5.0 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.6 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.2 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.4.0 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.0 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.0.rc3 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.0.rc2 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.3.0.rc1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.5 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.4 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.3.1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.3 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.2 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.2.0 app/views/spree/products/_gallery_modal.html.erb