{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Invenio RDM Records 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 %} {%- block css %} {{ webpack['invenio-app-rdm-theme.css'] }} {{ webpack['invenio-rdm-records-theme.css'] }} {%- endblock %} {%- from "invenio_rdm_records/macros/files.html" import file_list_box, preview_file_box %} {%- block page_body %}
{%- block record_body %} {{ record.publication_date|to_date|format_date(format='long') }} | Version {{ record.version }}
{{ record.resource_type | vocabulary_title('resource_types') }} {% if record.access_right in ["embargoed", "closed"] %} {% elif record.access_right == "restricted" %} {% else %} {% endif %} {{ record.access_right }} Access

{{ record.titles[0].title }}

{%- include "invenio_rdm_records/details/creators.html" %}

{%- if record.contributors %}

{%- include "invenio_rdm_records/details/contributors.html" %}

{%- endif %}
{%- include "invenio_rdm_records/details/contact.html" %}
{%- include "invenio_rdm_records/details/doi.html" %}
{%- include "invenio_rdm_records/details/citation.html" %} {%- include "invenio_rdm_records/details/keywords.html" %} {%- include "invenio_rdm_records/details/description.html" %} {%- include "invenio_rdm_records/details/licenses.html" %} {# files #} {%- if record.files and record|can_list_files %} {%- set files = record.files %} {{ preview_file_box(files|select_preview_file, pid) }} {{ file_list_box(files.dumps(), pid) }} {%- else %}

No associated files.

{% endif %} {# More details #} {%- endblock record_body %}
{# Side bar #}
{%- include "invenio_rdm_records/details/side_bar.html" %}
{%- endblock %} {%- block javascript %} {{ super() }} {{ webpack['invenio-rdm-records-js.js'] }} {%- endblock javascript %}