{% if icon_id %} {% else %} {% endif %} {{ type_display }} #{{ object_id }}

{% if is_document %} {% if file_info %} {% if file_info.previewable %} {% endif %} {{ t("results.download") }} {% if file_info.count > 1 %} {{ t("details.download_all", count=file_info.count) }} {% endif %} {% endif %} {% endif %}

{{ t("details.fields") }}

{% for item in fields %} {% endfor %}
{{ item.caption }} {% if item.table %} {% else %}{{ item.value }}{% endif %}

{{ t("details.metadata") }}

{# The numeric type id is what a job call or an ado statement needs, so it leads the list and stays there even when base_params are missing. #} {% if base %} {% endif %} {% if lock %} {# A button rather than an anchor: the open-statement handler does not preventDefault, so a link would navigate as well as open the tab. #} {% set lock_icon = "ph-lock-open" if lock.state == "UNLOCKED" else "ph-lock" %} {% endif %}
{{ t("details.type_id") }}{{ type_id }}
{{ t("details.creator") }}{{ base.creator or "" }}
{{ t("details.created") }}{{ base.creation_date or "" }}
{{ t("details.modifier") }}{{ base.modifier or "" }}
{{ t("details.modified") }}{{ base.modified_date or "" }}
{{ t("details.owner") }}{{ base.owner or "" }}
{{ t("details.version") }}{{ base.version or "" }}
{{ t("details.checked_out") }} {% if lock.statement %} {% else %} {{ lock.label }} {% endif %}
{% if file_info %}

{{ t("details.file") }}

{{ t("details.file_type") }}.{{ file_info.extension }} ({{ file_info.mimetype }})
{{ t("details.file_size") }}{{ file_info.size_kb }} KB
{% endif %} {% if is_document %}

{{ t("details.variants") }}

{% if variants %} {% else %}

{{ t("details.no_variants") }}

{% endif %} {% endif %}