{% from 'macros.j2' import import_information_symbol, user_reference %} {{ service_name }} {{ _('Export') }} {% for object, action, activity_log_entries, location_entries, publications, comments, files, qrcode_url in objects %}
#{{ object.object_id }} {{ _('Exported on %(export_date)s', export_date=export_date | babel_format_date) }}

{{ get_object_type_name(action) }} #{{ object.object_id }}: {{ object.name | get_translated_text(metadata_language) }}

{{ _('Information') }}

{% with data = object.data %} {% with schema = object.schema %} {% include "pdfexport/object.html" %} {% endwith %} {% endwith %} {% if activity_log_entries %}

{{ _('Activity Log') }}

{% endif %} {% if location_entries %}

{{ _('Locations') }}

{% endif %} {% if publications %}

{{ _('Publications') }}

{% endif %} {% if comments %}

{{ _('Comments') }}

{% endif %} {% if files %}

{{ _('Files') }}

{% for file in files %} {% if not file.is_hidden and (file.storage == 'local' or file.storage == 'database') %} {% for file_extension in ['.png', '.jpg', '.jpeg'] %} {% if file.original_file_name.endswith(file_extension) %}

{{ _('File') }} #{{ file.id }}: {{ file.title }}

{% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{% endfor %}