{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Invenio App RDM is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- 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 %} {%- extends config.BASE_TEMPLATE %} {%- block page_body %} {%- 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 %}