custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/element/cms-element-proclane-brand-teaser.html.twig line 1

Open in your IDE?
  1. {% block proclane_sw_cms_element_brand_teaser %}
  2.   <div class="proclane-sw-cms-el proclane-sw-cms-el-brand-teaser">
  3.     <div class="brand-teaser-headline">
  4.       <h2>{{ 'proclane-wegmann-theme.sw-cms.elements.brand-teaser.headline'|trans|sw_sanitize }}</h2>
  5.     </div>
  6.     <div class="brand-row-container">
  7.       {% for brand in element.data.manufacturerEntities %}
  8.         {% set mediaUrl = brand.media.url %}
  9.         <div class="single-brand-container">
  10.           <img class="brand-image" src="{{ mediaUrl }}" alt="{{ 'proclane-wegmann-theme.sw-cms.elements.category-teaser.image-alt'|trans|sw_sanitize }}"/>
  11.           <span class="brand-description">
  12.             {{brand.translated.description|raw|striptags|sw_sanitize}}
  13.           </span>
  14.         </div>
  15.       {% endfor %}
  16.     </div>
  17.   </div>
  18. {% endblock %}