{# SPDX-FileCopyrightText: 2022-2026 Graz University of Technology. SPDX-License-Identifier: MIT #} {%- extends config.BASE_TEMPLATE -%} {%- if not record.is_published and record.versions and record.versions.index and record.versions.index > 1 %} {%- set title = _("New Version of OER Upload") %} {%- elif not record.is_published %} {%- set title = _("New OER Upload") %} {% else %} {%- set title = _("Edit OER Upload") %} {%- endif %} {%- block page_body %} {# `tojson`'s output contains `"`s, so wrap value-attribute in `'` instead of `"` #} {%- if permissions %} {%- endif %}
{%- endblock page_body %} {%- block javascript %} {{ super() }} {{ webpack["invenio-records-lom-deposit.js"] }} {%- endblock javascript %}