{% import "components/attachments.macro.html.twig" as attachments %} {% import "helper.twig" as helper %} {% for bom_entry in part.projectBomEntries %} {# @var bom_entry App\Entity\Project\ProjectBOMEntry #} {# Name #} {# Description #} {% endfor %}
{% trans %}entity.info.name{% endtrans %} {% trans %}description.label{% endtrans %} {% trans %}project.bom.quantity{% endtrans %} {% trans %}project.bom.mountnames{% endtrans %}
{% if bom_entry.project.masterPictureAttachment is not null %}{{ attachments.attachment_icon(bom_entry.project.masterPictureAttachment, attachment_manager) }}{% endif %} {{ bom_entry.project.name }}{{ bom_entry.project.description|format_markdown }}{{ bom_entry.quantity | format_amount(part.partUnit) }} {% for tag in bom_entry.mountnames|split(',') %} {{ tag | trim }} {% endfor %}
{% trans %}part.info.add_part_to_project{% endtrans %}