templates/frontend-eforum/_partials/modules/productContent.html.twig line 1

Open in your IDE?
  1. <section class="product-section product-contents" id="{{ moduleKey }}">
  2.     {% if module.title is defined %}
  3.     <div class="product-section__title-mobile-wrapper d-block d-md-none">
  4.         <div class="container">
  5.             <span class="product-section__title d-block d-md-none">{{ module.title }}</span>
  6.         </div>
  7.     </div>
  8.     {% endif %}
  9.     <div class="container">
  10.         {% if module.title is defined %}
  11.             <h2 class="product-section__title d-none d-md-block">{{ module.title }}</h2>
  12.         {% endif %}
  13.         {% if module.items is defined %}
  14.             <ul class="icon-list icon-list--app-mobile icon-list--column icon-list--icons">
  15.                 {% for item in module.items %}
  16.                     <li class="icon-list__item">
  17.                         <div class="icon-list__itemCheck"><span class="icon--check2"></span></div>
  18.                         {% if item.title is defined %}
  19.                             <span class="icon-list__item-text">{{ item.title }}</span>
  20.                         {% endif %}
  21.                         {% if item.description is defined %}
  22.                             <span class="icon-list__title d-inline d-md-none"> - {{ item.description }}</span>
  23.                         {% endif %}
  24.                         <hr class="icon-list__hr">
  25.                         <div class="icon-list__info">
  26.                             {% if item.description is defined %}
  27.                                 <h3 class="icon-list__title d-none d-md-block">{{ item.description }}</h3>
  28.                             {% endif %}
  29.                             {% if item.author is defined %}
  30.                                 <span class="icon-list__author d-none d-md-inline">{{ item.author }}</span>
  31.                             {% endif %}
  32.                         </div>
  33.                     </li>
  34.                 {% endfor %}
  35.             </ul>
  36.         {% endif %}
  37.         {% if module.file is defined %}
  38.             <div class="product-section__footer text-center">
  39.                 <a href="/uploads/productCmsFiles/{{ module.file }}"
  40.                    target="_blank"
  41.                    class="button button--blue button--download button-white-mobile-app"
  42.                 >
  43.                     {% if module.downloadButtonText is defined %}
  44.                         {{ module.downloadButtonText }}
  45.                     {% else %}
  46.                         Pobierz
  47.                     {% endif %}
  48.                 </a>
  49.             </div>
  50.         {% endif %}
  51.     </div>
  52. </section>