{% import "helper.twig" as helper %} {% import "LabelSystem/dropdown_macro.html.twig" as dropdown %} {{ helper.breadcrumb_entity_link(entity) }}
{% if entity.masterPictureAttachment is not null and attachment_manager.isFileExisting(entity.masterPictureAttachment) %} {% endif %} {{ header_label | trans }}: {{ entity.name }}
{{ entity.name }}
{% if entity.parent %} {{ entity.parent.fullPath }} {% else %} - {% endif %}
{% 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 btn-block 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|markdown }}
{% endif %}