templates/frontend-eforum/footer-mobile.html.twig line 1

Open in your IDE?
  1. <nav class="mobile-nav mobile-nav--footer" id="mobile-footer">
  2.     <ul class="mobile-nav__list">
  3.         {% if categories is defined and categories is not null %}
  4.             <li class="mobile-nav__item mobile-nav__item--has-submenu">
  5.                 <a class="mobile-nav__link" href="">
  6.                     Tematyka
  7.                 </a>
  8.                 <ul class="mobile-nav__list">
  9.                     {% for category in categories %}
  10.                         <li class="mobile-nav__item">
  11.                             <a class="mobile-nav__link"
  12.                                href="{{ url('category_show', {category : category.categorySlug}) }}"
  13.                             >
  14.                                 {{ category.categoryName }}
  15.                             </a>
  16.                         </li>
  17.                     {% endfor %}
  18.                 </ul>
  19.             </li>
  20.         {% endif %}
  21.         {% if module is not null and module.navigation is defined and module.navigation is not empty %}
  22.             {% for column in module.navigation %}
  23.                 <li class="mobile-nav__item mobile-nav__item--has-submenu">
  24.                     {% if column.header is defined %}
  25.                         <a class="mobile-nav__link" href="">
  26.                             {{ column.header }}
  27.                         </a>
  28.                     {% endif %}
  29.                     {% if column.list is defined %}
  30.                         <ul class="mobile-nav__list">
  31.                             {% for item in column.list %}
  32.                                 <li class="mobile-nav__item">
  33.                                     {% if item.linkText is defined %}
  34.                                         <a class="mobile-nav__link"
  35.                                            href="{{ item.linkedTemplate is defined ? path('efShowDynamicTemplate', {'dynamicType': item.linkedTemplate}) : '' }}"
  36.                                         >
  37.                                             {{ item.linkText }}
  38.                                         </a>
  39.                                     {% endif %}
  40.                                 </li>
  41.                             {% endfor %}
  42.                         </ul>
  43.                     {% endif %}
  44.                 </li>
  45.             {% endfor %}
  46.         {% endif %}
  47.     </ul>
  48. </nav>