modules/XC/CrispWhiteSkin/templates/web/customer/modules/QSL/ShopByBrand/brands_dialog/body.twig line 1

Open in your IDE?
  1. {# #
  2.  # Brands list (grid style)
  3. #}
  4. <ul class="subcategory-view-icons subcategory-list grid-list clearfix">
  5.   {% for idx, _brand in this.getBrands() %}
  6.     <li>
  7.       <a href="{{ xurl('brand', '', {'brand_id': _brand.0.brand_id}) }}">
  8.         <span class="subcategory-icon lazy-load" aria-hidden="true">
  9.           <span class="subcategory-icon_wrapper{% if not _brand.0.image %} no-image{% endif %}">
  10.           {{ widget('\\XLite\\View\\Image', isBlurApplicable=true, image=_brand.0.image, maxWidth=this.getIconWidth(), maxHeight=this.getIconHeight(), centerImage='1', alt=this.getAlt(_brand.0.image)) }}
  11.         </span>
  12.         </span>
  13.         <span class="subcategory-name">{{ _brand.name }}</span>
  14.       </a>
  15.     </li>
  16.   {% endfor %}
  17. </ul>
  18. {% if this.isAllBrandsLinkVisible() %}
  19.   <div class="all-brands-link">
  20.     <a href="{{ xurl('brands') }}">
  21.       <span class="subcategory-name">{{ t('View All') }}</span>
  22.     </a>
  23.   </div>
  24. {% endif %}