{# -*- coding: utf-8 -*- Copyright (C) 2022 Graz University of Technology. invenio-records-lom 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.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 %}