templates/content/structure/menuZonesActives.html.twig line 1

Open in your IDE?
  1. <!-- Retour Global -->
  2. <div class="col-12 add">
  3.   {% if stack.navH is defined and stack.navH is not null %}
  4.     Retour Global <i class="fas fa-arrow-up"></i> :
  5.     {% if app.user is not null %}
  6.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navH, 'recherche': recherche }) }}">
  7.     {% else %}
  8.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navH, 'recherche': recherche }) }}">
  9.     {% endif %}
  10.         {{ stack.navH }}
  11.       </a>
  12.     Catégorie/Séquences/Cards :
  13.     {% if app.user is not null %}
  14.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navH, 'recherche': recherche }) }}">
  15.     {% else %}
  16.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navH, 'recherche': recherche }) }}">
  17.     {% endif %}
  18.       {{ stackH.Scategorie.nom }} | {{ stackH.Ssequence.nom }} | {{ stackH.nom }}
  19.     </a>
  20.   {% endif %}
  21. </div>
  22. <!-- Arrière -->
  23. <div class="col-12 add">
  24.   {% if stack.navG is defined and stack.navG is not null %}
  25.     Arrière <i class="fas fa-arrow-left"></i> :
  26.     {% if app.user is not null %}
  27.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navG, 'recherche': recherche }) }}">
  28.     {% else %}
  29.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navG, 'recherche': recherche }) }}">
  30.     {% endif %}
  31.       {{ stack.navG }}
  32.     </a>
  33.     Catégorie/Séquences/Cards :
  34.     {% if app.user is not null %}
  35.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navG, 'recherche': recherche }) }}">
  36.     {% else %}
  37.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navG, 'recherche': recherche }) }}">
  38.     {% endif %}
  39.       {{ stackG.Scategorie.nom }} | {{ stackG.Ssequence.nom }} | {{ stackG.nom }}
  40.     </a>
  41.   {% endif %}
  42. </div>
  43. <!-- Avant -->
  44. <div class="col-12 add">
  45.   {% if stack.navD is defined and stack.navD is not null %}
  46.     Avant <i class="fas fa-arrow-right"></i> :
  47.     {% if app.user is not null %}
  48.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navD, 'recherche': recherche }) }}">
  49.     {% else %}
  50.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navD, 'recherche': recherche }) }}">
  51.     {% endif %}
  52.       {{ stack.navD }}
  53.     </a>
  54.     Catégorie/Séquences/Cards :
  55.     {% if app.user is not null %}
  56.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navD, 'recherche': recherche }) }}">
  57.     {% else %}
  58.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navD, 'recherche': recherche }) }}">
  59.     {% endif %}
  60.       {{ stackD.Scategorie.nom }} | {{ stackD.Ssequence.nom }} | {{ stackD.nom }}
  61.     </a>
  62.   {% endif %}
  63. </div>
  64. <!-- Retour Séq -->
  65. <div class="col-12 add">
  66.   {% if stack.navBG is defined and stack.navBG is not null %}
  67.     Retour Séq. <i class="fas fa-arrow-down"></i> :
  68.     {% if app.user is not null %}
  69.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navBG, 'recherche': recherche }) }}">
  70.     {% else %}
  71.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navBG, 'recherche': recherche }) }}">
  72.     {% endif %}
  73.       {{ stack.navBG }}
  74.     </a>
  75.     Catégorie/Séquences/Cards :
  76.     {% if app.user is not null %}
  77.       <a href="{{ path("webSite_stacks_show", { "id" : stack.navBG, 'recherche': recherche }) }}">
  78.     {% else %}
  79.       <a href="{{ path("visiteur_stacks_show", { "id" : stack.navBG, 'recherche': recherche }) }}">
  80.     {% endif %}
  81.       {{ stackBG.Scategorie.nom }} | {{ stackBG.Ssequence.nom }} | {{ stackBG.nom }}
  82.     </a>
  83.   {% endif %}
  84. </div>
  85. <!-- Rollover / Click -->
  86. <div class="col-12 add">
  87.   {% if stack.zones is defined and stack.zones is not null %}
  88.     {% set i = 0 %}
  89.     {% for zone in stack.zones %}
  90.       {% if zone.rollover is defined and zone.rollover is not null %}
  91.         Rollover <i class="fas fa-vector-square"></i> :
  92.         {% if app.user is not null %}
  93.           <a href="{{ path("webSite_stacks_show", { "id" : zone.rollover, 'recherche': recherche }) }}">
  94.         {% else %}
  95.           <a href="{{ path("visiteur_stacks_show", { "id" : zone.rollover, 'recherche': recherche }) }}">
  96.         {% endif %}
  97.           {{ zone.rollover }}
  98.         </a>
  99.         Catégorie/Séquences/Cards :
  100.         {% if stackZones[i] is not null %}
  101.           {% if app.user is not null %}
  102.             <a href="{{ path("webSite_stacks_show", { "id" : zone.rollover, 'recherche': recherche }) }}">
  103.           {% else %}
  104.             <a href="{{ path("visiteur_stacks_show", { "id" : zone.rollover, 'recherche': recherche }) }}">
  105.           {% endif %}
  106.               {{ stackZones[i].Scategorie.nom }} | {{ stackZones[i].Ssequence.nom }} | {{ stackZones[i].nom }}
  107.             </a>
  108.           <br>
  109.         {% endif %}
  110.       {% endif %}
  111.       {% if zone.destination is defined and zone.destination is not null %}
  112.         Click <i class="fas fa-compress-arrows-alt"></i> :
  113.         {% if app.user is not null %}
  114.           <a href="{{ path("webSite_stacks_show", { "id" : zone.destination, 'recherche': recherche }) }}">
  115.         {% else %}
  116.           <a href="{{ path("visiteur_stacks_show", { "id" : zone.destination, 'recherche': recherche }) }}">
  117.         {% endif %}
  118.           {{ zone.destination }}
  119.         </a>
  120.         Catégorie/Séquences/Cards :
  121.         {% if stackZones[i] is not null %}
  122.           {% if app.user is not null %}
  123.             <a href="{{ path("webSite_stacks_show", { "id" : zone.destination, 'recherche': recherche }) }}">
  124.           {% else %}
  125.             <a href="{{ path("visiteur_stacks_show", { "id" : zone.destination, 'recherche': recherche }) }}">
  126.           {% endif %}
  127.             {{ stackZones[i].Scategorie.nom }} | {{ stackZones[i].Ssequence.nom }} | {{ stackZones[i].nom }}
  128.           </a>
  129.           <br>
  130.         {% endif %}
  131.       {% endif %}
  132.       {% set i = i + 1 %}
  133.     {% endfor %}
  134.   {% endif %}
  135. </div>
  136. <!-- Timer -->
  137. {% if stack.timers is defined and stack.timers is not null %}
  138.   {% for timer in stack.timers %}
  139.     <div class="col-12 add">
  140.       Timer <i class="fas fa-clock"></i> :
  141.       {% if app.user is not null %}
  142.         <a href="{{ path("webSite_stacks_show", { "id" : timer.destination, 'recherche': recherche }) }}">
  143.       {% else %}
  144.         <a href="{{ path("visiteur_stacks_show", { "id" : timer.destination, 'recherche': recherche }) }}">
  145.       {% endif %}
  146.         {{ timer.duree / 1000 }}s -> {{ timer.destination }}
  147.       </a>
  148.       Catégorie/Séquences/Cards :
  149.       {% if app.user is not null %}
  150.         <a href="{{ path("webSite_stacks_show", { "id" : timer.destination, 'recherche': recherche }) }}">
  151.       {% else %}
  152.         <a href="{{ path("visiteur_stacks_show", { "id" : timer.destination, 'recherche': recherche }) }}">
  153.       {% endif %}
  154.         {{ stackTimer.Scategorie.nom }} | {{ stackTimer.Ssequence.nom }} | {{ stackTimer.nom }}
  155.       </a>
  156.     </div>
  157.   {% endfor %}
  158. {% endif %}