diff --git a/templates/semantic-ui/zenodo_rdm/records/detail.html b/templates/semantic-ui/zenodo_rdm/records/detail.html index 3a4a1754..3e362c14 100644 --- a/templates/semantic-ui/zenodo_rdm/records/detail.html +++ b/templates/semantic-ui/zenodo_rdm/records/detail.html @@ -19,16 +19,9 @@ > {%- if permissions.can_read_files -%} {# record has files AND user has permission to see files #} -

{{ _('Files') }}

{%- set files = files|order_entries %} - {%- if record.files.enabled and (files is not defined or files|length == 0) -%} -
-
- Looking for files of this record? -
- They are currently under migration process and will be available soon! -
- {% else %} + {%- if files|length > 0 -%} +

{{ _('Files') }}

{%- if files|has_previewable_files -%} {%-set preview_file = files|select_preview_file(default_preview=record.files.default_preview) %} {{ preview_file_box(preview_file, record.id, is_preview, record, include_deleted) }}