src/Daikin/BaseBundle/Resources/views/default/pagesmenu.html.twig line 1

Open in your IDE?
  1. {% if v2 %}
  2.     <ul class="footer-links">
  3.         {% for pg in page %}
  4.             <li class="footer-link {% if loop.last %}fl-last{% elseif loop.first %}fl-first{% else %}fl-center{% endif %}">
  5.                 {% if pg.url is defined and pg.url|length>6 %}
  6.                     <a href="{{ pg.url }}" target="_blank" title="{{pg.name}}">{{pg.name}}</a>
  7.                 {% else %}
  8.                 <a href="{{ path('staticpages', {'alias': pg.alias}) }}" title="{{pg.name}}">{{pg.name}}</a>
  9.                 {% endif%}
  10.             </li>
  11.         {% endfor %}
  12.     </ul>
  13. {% else %}
  14.     {% for pg in page %}
  15.         {% if pg.url is defined and pg.url|length>6 %}
  16.             <a href="{{ pg.url }}" target="_blank" title="{{pg.name}}">{{pg.name}}</a>
  17.         {% else %}
  18.             <a href="{{ path('staticpages', {'alias': pg.alias}) }}" title="{{pg.name}}">{{pg.name}}</a>
  19.         {% endif%}
  20.         {% if loop.last %}&nbsp;{% else %}&nbsp;|&nbsp;{% endif %}
  21.     {% endfor %}
  22. {% endif %}