{# Copyright (C) 2021 Graz University of Technology invenio-records-marc21 is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends config.MARC21_BASE_TEMPLATE %} {%- if not record.is_published and record.versions.index and record.versions.index > 1%} {%- set title = _("New version") %} {%- elif not record.is_published %} {%- set title = _("New upload") %} {% else %} {%- set title = _("Edit upload") %} {%- endif %} {%- block page_body %} {%- if record %} {%- endif %} {%- if files %} {%- endif %} {%- if forms_config %} {%- endif %} {%- if templates %} {%- endif %} {%- if permissions %} {%- endif %}
{%- endblock page_body %} {%- block javascript %} {{ webpack["invenio-records-marc21-deposit.js"] }} {%- endblock %}