Sha256: ca9c8af84d08460f292ddfd81aab40a8e3d56f17b15340b3b79bda3496e69a33

Contents?: true

Size: 1.87 KB

Versions: 9

Compression:

Stored size: 1.87 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" 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

9 entries across 9 versions & 1 rubygems

Version Path
spree_frontend-4.1.15 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.14 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.13.1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.13 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.12 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.11 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.10 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.9 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.8 app/views/spree/products/_gallery_modal.html.erb