Sha256: 7c8e8d2302f75cdcf0242b709d017a0b5871a47123d511bbceeac44cbd80c344

Contents?: true

Size: 1.85 KB

Versions: 8

Compression:

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

8 entries across 8 versions & 1 rubygems

Version Path
spree_frontend-4.1.7 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.6 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.5 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.4 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.3 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.2 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.1 app/views/spree/products/_gallery_modal.html.erb
spree_frontend-4.1.0 app/views/spree/products/_gallery_modal.html.erb