{# Copyright (C) 2020-2026 Graz University of Technology. invenio-override is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. Overrides: invenio_app_rdm/records/deposit.html Changes: - Added page_description for each deposit state (new upload, new version, edit) so the page inner banner shows a subtitle below the title. #} {%- extends config.BASE_TEMPLATE %} {%- if community and community.theme and community.theme.enabled %} {%- block css %} {{ super() }} {%- endblock %} {%- endif %} {%- if not record.is_published and record.versions.index and record.versions.index > 1 %} {%- set title = _("New version") %} {%- set page_description = _("Fill in the details for the new version of this record.") %} {%- elif not record.is_published %} {%- set title = _("New upload") %} {%- set page_description = _("Complete the form below to share your research output.") %} {% else %} {%- set title = _("Edit upload") %} {%- set page_description = _("Update the metadata and files for this record.") %} {%- endif %} {%- block page_body %} {%- if community_use_jinja_header %} {%- include "invenio_communities/details/header.html" %} {%- endif %} {%- if record %} {%- endif %} {%- if preselectedCommunity %} {%- endif %} {%- if files %} {%- endif %} {%- if forms_config %} {%- endif %} {%- if permissions %} {%- endif %}
{%- endblock page_body %} {%- block javascript %} {{ super() }} {{ webpack['invenio-app-rdm-deposit.js'] }} {%- endblock %}