You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

breadcrumb.html.twig 1020B

1234567891011121314151617181920
  1. {% if ea.entity.instance is not null and ea.entity.instance.parent is defined %}
  2. <nav aria-label="breadcrumb">
  3. <ol class="breadcrumb">
  4. <li class="breadcrumb-item"><a href="{{ ea_url().unset('entityId').generateUrl() }}">Index</a></li>
  5. {% set parent = ea.entity.instance.parent %}
  6. {% if parent is not null %}
  7. <li class="breadcrumb-item"><a
  8. href="{{ ea_url({ entityId: parent.id }).generateUrl() }}">{{ parent.title }}</a></li>
  9. {% set grand_parent = parent.parent %}
  10. {% if grand_parent is not null %}
  11. <li class="breadcrumb-item"><a
  12. href="{{ ea_url({ entityId: grand_parent.id }).generateUrl() }}">{{ grand_parent.title }}</a>
  13. </li>
  14. {% endif %}
  15. {% endif %}
  16. <li class="breadcrumb-item active" aria-current="page">{{ ea.entity.instance.title }}</li>
  17. </ol>
  18. </nav>
  19. {% endif %}