|
{% import "components/attachments.macro.html.twig" as attachments %}
{{ attachments.attachment_icon(attachment, attachment_manager) }}
|
{{ attachment.name }} |
{{ attachment.attachmentType.fullPath }} |
{% if attachment.external %}
{{ attachment.host }}
{% else %}
{{ attachment.filename }}
{% endif %}
|
{% if attachment.external %}
{% trans %}attachment.external{% endtrans %}
{% elseif attachment_manager.fileExisting(attachment) %}
{{ attachment_manager.humanFileSize(attachment) }}
{% else %}
{% trans %}attachment.file_not_found{% endtrans %}
{% endif %}
{% if attachment.secure %}
{% trans %}attachment.secure{% endtrans %}
{% endif %}
{% if attachment == part.masterPictureAttachment %}
{% trans %}attachment.preview{% endtrans %}
{% endif %}
|
|
{% endfor %}