{% for object, action, activity_log_entries, location_entries, publications, comments, files, qrcode_url in objects %}
#{{ object.object_id }} Exported on {{ export_date }}

{{ action.type.object_name }} #{{ object.object_id }}: {{ object.data.name.text }}

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' %} {% 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 %}