templates/includes/sim/default-footer.html.twig line 1

Open in your IDE?
  1. <ul id="is-Footer-Nav">
  2. {% if footerPages is defined %}
  3. {% for page in footerPages %}
  4. <li class="is-Footer-Nav-Item">
  5. <a href="{{ path('page', {'id': page.id}) }}" class="is-Footer-Nav-Link">{{ page.linkLabel }}</a>
  6. </li>
  7. {% endfor %}
  8. {% endif %}
  9. {% if portal_url is defined and items is defined and items is not empty %}
  10. {% for item in items['footer'] %}
  11. {% if item.title is not empty %}
  12. <li class="is-Footer-Nav-Item">
  13. <a href="{{ item.url }}" class="is-Footer-Nav-Link">{{ item.title | raw }}</a>
  14. </li>
  15. {% endif %}
  16. {% endfor %}
  17. {% if cms_contact_url is defined and cms_contact_url == false %}
  18. <li class="is-Footer-Nav-Item">
  19. <a href="{{ path('contact') }}" class="is-Footer-Nav-Link">{{ 'nav.contact'|trans }}</a>
  20. </li>
  21. {% endif %}
  22. {% if footer_ticketing_faq_url is defined and footer_ticketing_faq_url is not empty %}
  23. <li class="is-Footer-Nav-Item">
  24. <a href="{{ footer_ticketing_faq_url }}" class="is-Footer-Nav-Link">{{ 'nav.faq_url'|trans }}</a>
  25. </li>
  26. {% endif %}
  27. {% if cms_sitemap_url is defined and cms_sitemap_url == false and sim_module is defined and sim_module == true %}
  28. <li class="is-Footer-Nav-Item">
  29. <a href="{{ path('sitemap') }}" class="is-Footer-Nav-Link">{{ 'nav.sitemap'|trans }}</a>
  30. </li>
  31. {% endif %}
  32. {% else %}
  33. {% if external_contact_url is defined and external_contact_url is not empty %}
  34. <li class="is-Footer-Nav-Item">
  35. <a href="{{ external_contact_url }}" class="is-Footer-Nav-Link">{{ 'nav.contact'|trans }}</a>
  36. </li>
  37. {% else %}
  38. <li class="is-Footer-Nav-Item">
  39. <a href="{{ path('contact') }}" class="is-Footer-Nav-Link">{{ 'nav.contact'|trans }}</a>
  40. </li>
  41. {% endif %}
  42. {% if footer_ticketing_faq_url is defined and footer_ticketing_faq_url is not empty %}
  43. <li class="is-Footer-Nav-Item">
  44. <a href="{{ footer_ticketing_faq_url }}" class="is-Footer-Nav-Link">{{ 'nav.faq_url'|trans }}</a>
  45. </li>
  46. {% endif %}
  47. {% if sim_module is defined and sim_module == true %}
  48. <li class="is-Footer-Nav-Item">
  49. <a href="{{ path('sitemap') }}" class="is-Footer-Nav-Link">{{ 'nav.sitemap'|trans }}</a>
  50. </li>
  51. {% endif %}
  52. {% if footer_cgu_url is defined and footer_cgu_url is not empty %}
  53. <li class="is-Footer-Nav-Item">
  54. <a href="{{ footer_cgu_url }}" class="is-Footer-Nav-Link">{{ 'nav.cgu'|trans }}</a>
  55. </li>
  56. {% endif %}
  57. {% if footer_legal_notice_url is defined and footer_legal_notice_url is not empty %}
  58. <li class="is-Footer-Nav-Item">
  59. <a href="{{ footer_legal_notice_url }}" class="is-Footer-Nav-Link">{{ 'nav.legal_notices'|trans }}</a>
  60. </li>
  61. {% endif %}
  62. {% if footer_privacy_policy_url is defined and footer_privacy_policy_url is not empty %}
  63. <li class="is-Footer-Nav-Item">
  64. <a href="{{ footer_privacy_policy_url }}" class="is-Footer-Nav-Link">{{ 'nav.privacy_policy'|trans }}</a>
  65. </li>
  66. {% endif %}
  67. {% endif %}
  68. </ul>