{% if app.request.attributes.get('_route') == 'page_link' %}
  1. Acceuil
  2. {% if parent %}
  3. {% if parentMenu['titre_nav'] != '' %} {{ parentMenu['titre_nav']|raw|striptags }} {% else %} {{ parentMenu['titre']|raw|striptags }} {% endif %}
  4. {% if page['content']['titre_nav'] != '' %} {{ page['content']['titre_nav']|raw|striptags }} {% else %} {{ page['content']['titre']|raw|striptags }} {% endif %}
  5. {% else %}
  6. {% if page['content']['titre_nav'] != '' %} {{ page['content']['titre_nav']|raw|striptags }} {% else %} {{ page['content']['titre']|raw|striptags }} {% endif %}
  7. {% endif %} {% elseif app.request.attributes.get('_route') == 'article_link' %}
  8. {{ articleType['type']|raw|striptags }}
  9. {% if article['categorie'] != '' and article['actif_categorie'] == '1' %}
  10. {{ article['categorie']|raw|striptags }}
  11. {% endif %}
  12. {{ article['titre']|raw|striptags }}
  13. {% elseif app.request.attributes.get('_route') == 'app_article_type' or app.request.attributes.get('_route') == 'app_article_categorie' or app.request.attributes.get('_route') == 'app_article_auteur' or app.request.attributes.get('_route') == 'app_article_valeur' %}
  14. {% if categorie is defined %}
  15. {{ type['type']|raw|striptags }}
  16. {{ categorie|raw|striptags }}
  17. {% elseif valeurCritere is defined %}
  18. {{ valeurCritere|raw|striptags }}
  19. {% else %}
  20. {{ type['type']|raw|striptags }}
  21. {% endif %} {% elseif app.request.attributes.get('_route') == 'compose_page' %}
  22. {% if parent %}
  23. {{ parentMenu['titre_nav']|removeVar|raw|striptags }}
  24. {% endif %}
  25. {{ titleMenu|raw|striptags }}
  26. {{ app.request.attributes.get('_route_params')['slug']|striptags }}
  27. {% elseif app.request.attributes.get('_route') == 'compose_page_famille' %}
  28. {% if parent %}
  29. {{ parentMenu['titre_nav']|removeVar|striptags }}
  30. {% endif %}
  31. {{ titleMenu|striptags }}
  32. {{ app.request.attributes.get('_route_params')['slug'] }}
  33. {{ app.request.attributes.get('_route_params')['famille'] }}
  34. {% elseif app.request.attributes.get('_route') == 'compose_page_famille_model' %}
  35. {% if parent %}
  36. {{ parentMenu['titre_nav']|removeVar|striptags }}
  37. {% endif %}
  38. {{ titleMenu|striptags }}
  39. {{ app.request.attributes.get('_route_params')['slug']|striptags }}
  40. {{ app.request.attributes.get('_route_params')['famille']|striptags }}
  41. {{ app.request.attributes.get('_route_params')['model']|striptags }}
  42. {% endif %}