{# 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 %} {{ super() }} {%- endblock css %} {%- from "invenio_app_rdm/landing_page/macros/files.html" import file_list_box, preview_file_box %} {%- from "invenio_app_rdm/landing_page/macros/detail.html" import show_detail %} {%- set record = record|serialize_ui %} {%- set metadata = record.metadata %} {%- block page_body %}
{%- block record_body %}
{{ record.ui.publication_date_l10n_long }} {%- if metadata.version %} | Version {{ metadata.version }} {% endif %}
{{ record.ui.resource_type }} {{ record.ui.access_right.title }}

{{ metadata.title }}

{%- include "invenio_app_rdm/landing_page/details/creators.html" %}

{%- include "invenio_app_rdm/landing_page/details/contributors.html" %}

{%- include "invenio_app_rdm/landing_page/details/subjects.html" %}
{%- include "invenio_app_rdm/landing_page/details/description.html" %}
{%- include "invenio_app_rdm/landing_page/details/licenses.html" %}
{# files #} {%- if record.files and record|can_list_files %} {%- set files = record.files|make_files_preview_compatible %} {%- set default_preview_file = files|select_preview_file(default_preview=record.files.default_preview) %} {{ preview_file_box(default_preview_file, pid) }} {{ file_list_box(files, pid) }} {% endif %} {# More details #}
{%- include "invenio_app_rdm/landing_page/details/details.html" %}

Upload infromation

Created: {{ record.ui.created_date_l10n_long }} | Modified: {{ record.ui.updated_date_l10n_long }}
{%- endblock record_body %}
{% block sidebar %} {%- include "invenio_app_rdm/landing_page/details/side_bar.html" %} {% endblock sidebar %}
{%- endblock page_body %} {%- block javascript %} {{ super() }} {{ webpack['invenio-app-rdm-records.js'] }} {# Communities management #} {{ webpack['invenio-communities-records.js'] }} {{ webpack['previewer_theme.js'] }} {{ webpack['invenio-app-rdm-record-management.js'] }} {%- endblock javascript %}