{{ 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 object.eln_import_id is not none %}{{ _('Import') }}
{% set eln_import_url = eln_import_urls.get(object.object_id) %} {{ _('This object was imported from .eln file #%(eln_import_id)s by %(user_ref)s.', eln_import_id=object.eln_import_id, eln_import_url=url_for('frontend.eln_import', eln_import_id=object.eln_import_id), user_ref=user_reference(object.eln_import.user)) }} {% if eln_import_url is not none and eln_import_url.startswith('http') %}{{ _('The original URL is %(eln_import_url)s.', eln_import_url=eln_import_url) }}{% endif %}
{% endif %} {% 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 %}