From d7c19f9b1f8b8e15ecad07e17358a8a8f11defe4 Mon Sep 17 00:00:00 2001 From: Sam Arbid Date: Wed, 28 Aug 2024 13:26:41 +0200 Subject: [PATCH] deposit: Add allow-empty-files config available for deposit page * Expose `RECORDS_RESOURCES_ALLOW_EMPTY_FILES` for UI control * Related to: https://github.com/inveniosoftware/invenio-rdm-records/pull/1802 --- .../templates/semantic-ui/invenio_app_rdm/records/deposit.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/deposit.html b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/deposit.html index 994c37953..a0b19e209 100644 --- a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/deposit.html +++ b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/deposit.html @@ -47,6 +47,8 @@ value='{{ config.RDM_RECORDS_ALLOW_RESTRICTION_AFTER_GRACE_PERIOD | tojson }}'> + {%- if forms_config %}