{% import "helper.twig" as helper %} {% import "label_system/dropdown_macro.html.twig" as dropdown %} {{ helper.breadcrumb_entity_link(entity) }}
{{ entity.name }}
{% if entity.parent %} {{ entity.parent.fullPath }} {% else %} - {% endif %}
{% block quick_links %}{% endblock %} {% trans %}entity.edit.btn{% endtrans %}
{{ entity.lastModified | format_datetime("short") }}
{{ entity.addedDate | format_datetime("short") }}
{% if entity is instanceof("App\\Entity\\Parts\\Storelocation") %} {{ dropdown.profile_dropdown('storelocation', entity.id, true, 'btn-secondary w-100 mt-2') }} {% endif %}
{{ entity.children | length }}
{{ repo.partsCount(entity) }}
{% if entity.attachments is not empty %}
{% include "parts/info/_attachments_info.html.twig" with {"part": entity} %}
{% endif %} {% if entity.parameters is not empty %}
{% for name, parameters in entity.groupedParameters %} {% if name is not empty %}
{{ name }}
{% endif %} {{ helper.parameters_table(parameters) }} {% endfor %}
{% endif %} {% if entity.comment is not empty %}
{{ entity.comment|format_markdown }}
{% endif %}
{% if filterForm is defined %} {% include "parts/lists/_filter.html.twig" %} {% endif %}