{{ 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') }}
-
{% for entry in activity_log_entries %}
- {{ entry | safe }} {% endfor %}
{{ _('Locations') }}
-
{% for entry in location_entries %}
-
{{ entry.utc_datetime | babel_format_datetime }} —
{% if entry.assigning_user_id %}
{% with user = get_user(entry.assigning_user_id) %}
{{ user_reference(user, external=True, text=true) }}:
{% endwith %}
{% else %}
{{ _('Unknown User') }}:
{% endif %}
{% if entry.location_id %}
{{ entry.location_name }}
{% endif %}
{% if entry.responsible_user_id %}
{% if entry.location_id %}/{% endif %}
{% with user = get_user(entry.responsible_user_id) %}
{{ user_reference(user, external=True, text=true) }}
{% endwith %}
{% endif %}
{% if entry.description %}
{{ _('Description') }}:{% endif %}{{ entry.description | get_translated_text(metadata_language) }}
{% endfor %}
{{ _('Publications') }}
-
{% for publication in publications %}
- {{ publication.doi }} — {{ publication.title }} {% if publication.object_name %}({{ publication.object_name }}){% endif %} {% endfor %}
{{ _('Comments') }}
-
{% for comment in comments %}
-
{{ comment.utc_datetime | babel_format_datetime }} —
{% if comment.author is none %}
{{ _('Unknown User') }}:
{% else %}
{{ user_reference(comment.author, external=True, text=true) }}:
{% endif %}
{{ comment.content }}
{% endfor %}
{{ _('Files') }}
-
{% for file in files %}
- {{ file.utc_datetime | babel_format_datetime }} — {% if file.uploader is none %} {{ _('Unknown User') }}: {% else %} {{ user_reference(file.uploader, external=True, text=true) }}: {% endif %} {% if file.is_hidden %}({{ _('hidden') }}){% else %}{{ file.title }} ({{ file.id }}){% endif %} {% endfor %}