diff --git a/templates/Parts/lists/_info_card.html.twig b/templates/Parts/lists/_info_card.html.twig index fcf850ce..21057328 100644 --- a/templates/Parts/lists/_info_card.html.twig +++ b/templates/Parts/lists/_info_card.html.twig @@ -1,7 +1,11 @@ +{% import "helper.twig" as helper %} + +{{ helper.breadcrumb_entity_link(entity) }} +
- {{ header_label | trans }}: {{ entity.fullPath }} + {{ header_label | trans }}: {{ entity.name }}
diff --git a/templates/helper.twig b/templates/helper.twig index 8678d29b..4118d0d6 100644 --- a/templates/helper.twig +++ b/templates/helper.twig @@ -92,4 +92,20 @@ {% else %} - {% endif %} +{% endmacro %} + +{% macro breadcrumb_entity_link(entity, link_type = "list_parts") %} + {% endmacro %} \ No newline at end of file