test
parent
35426210ea
commit
c700252e14
|
@ -192,6 +192,9 @@
|
||||||
assign media_index = media_index | plus: 1
|
assign media_index = media_index | plus: 1
|
||||||
-%}
|
-%}
|
||||||
<li
|
<li
|
||||||
|
{% if product.selected_or_first_available_variant.featured_image.alt != media.alt and product.selected_or_first_available_variant.featured_image.alt != blank %}
|
||||||
|
style="display: none;"
|
||||||
|
{% endif %}
|
||||||
id="Slide-Thumbnails-{{ section.id }}-0{{ id_append }}"
|
id="Slide-Thumbnails-{{ section.id }}-0{{ id_append }}"
|
||||||
class="thumbnail-list__item slider__slide{% if section.settings.hide_variants and variant_images contains featured_media.src %} thumbnail-list_item--variant{% endif %}"
|
class="thumbnail-list__item slider__slide{% if section.settings.hide_variants and variant_images contains featured_media.src %} thumbnail-list_item--variant{% endif %}"
|
||||||
data-target="{{ section.id }}-{{ featured_media.id }}"
|
data-target="{{ section.id }}-{{ featured_media.id }}"
|
||||||
|
@ -248,7 +251,6 @@
|
||||||
class="thumbnail global-media-settings global-media-settings--no-shadow"
|
class="thumbnail global-media-settings global-media-settings--no-shadow"
|
||||||
aria-label="{%- if media.media_type == 'image' -%}{{ 'products.product.media.load_image' | t: index: media_index }}{%- elsif media.media_type == 'model' -%}{{ 'products.product.media.load_model' | t: index: media_index }}{%- elsif media.media_type == 'video' or media.media_type == 'external_video' -%}{{ 'products.product.media.load_video' | t: index: media_index }}{%- endif -%}"
|
aria-label="{%- if media.media_type == 'image' -%}{{ 'products.product.media.load_image' | t: index: media_index }}{%- elsif media.media_type == 'model' -%}{{ 'products.product.media.load_model' | t: index: media_index }}{%- elsif media.media_type == 'video' or media.media_type == 'external_video' -%}{{ 'products.product.media.load_video' | t: index: media_index }}{%- endif -%}"
|
||||||
|
|
||||||
|
|
||||||
{% if media == product.selected_or_first_available_variant.featured_media or product.selected_or_first_available_variant.featured_media == null and forloop.index == 1 %}
|
{% if media == product.selected_or_first_available_variant.featured_media or product.selected_or_first_available_variant.featured_media == null and forloop.index == 1 %}
|
||||||
aria-current="true"
|
aria-current="true"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue