{%- 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") %} {%- elif not record.is_published %} {%- set title = _("New upload") %} {% else %} {%- set title = _("Edit upload") %} {%- 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 %}