{% if data is not none and "file_id" in data and data.file_id is not none %} {% if "component_uuid" in data and data.component_uuid is not none and data.component_uuid != config['FEDERATION_UUID'] %} {% set component_uuid = data.component_uuid %} {% else %} {% set component_uuid = none %} {% endif %} {% set file = get_file(data.file_id, object_id, component_uuid) %} {% if file is not none %} {% if file.is_hidden %} {{ _('Hidden File') }} {% else %} {{ file.title }} {% if file | has_preview_image and schema.preview %}
{{ file.title }} {{ _('Fullscreen Image Preview')}} {% endif %} {% endif %} {% else %} {% if component_uuid is none %} {{ _('File') }} #{{ data.file_id }} {% else %} {% set component = get_component_by_uuid(component_uuid) %} {{ _('File') }} #{{ data.file_id }} @ {{ component.get_name() }} {% if not data.export_edit_note %}

{{ _('Note:') }} {{ _('This file has not been shared.')}}

{% endif %} {% endif %} {% endif %} {% else %} — {% endif %}