templates/evenement/_navigation.html.twig line 1

Open in your IDE?
  1. <div id="shortcodes" class="widget widget_links clearfix ">
  2.     <ul class="nav nav-pills flex-column">
  3.         <li class="nav-item border-bottom">
  4.             <a class="nav-link {% if theme_id == null %}active{% endif %}" href="{{ path('evenement_all') }}">
  5.                 {% if app.request.locale == "en" %}All {% else %}Toutes{% endif %}
  6.             </a>
  7.         </li>
  8.         {% for theme in themes %}
  9.         <li class="nav-item border-bottom">
  10.             <a class="nav-link {% if theme_id and theme_id == theme.id %}active{% endif %}" href="{{ path('evenement_all', {'theme_id': theme.id}) }}">
  11.                 {% if app.request.locale == "en" %}
  12.                 {{ theme.getEnDesignation() ? theme.getEnDesignation() : theme.designation }}
  13.                 {% else %}
  14.                 {{ theme.designation }}
  15.                 {% endif %}
  16.             </a>
  17.         </li>
  18.         {% endfor %}
  19.     </ul>
  20. </div>