diff --git a/templates/semantic-ui/invenio_app_rdm/records/detail.html b/templates/semantic-ui/invenio_app_rdm/records/detail.html new file mode 100644 index 0000000..6f43833 --- /dev/null +++ b/templates/semantic-ui/invenio_app_rdm/records/detail.html @@ -0,0 +1,412 @@ +{# + Copyright (C) 2023 CERN. + + 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. + #} + + {% if use_theme_basic_template|default(true) %} + {%- extends config.BASE_TEMPLATE %} + {% endif %} + + {%- from "invenio_app_rdm/records/macros/files.html" import file_list_box, preview_file_box %} + + {%- set title = record.metadata.title %} + {%- set metadata = record.metadata %} + + {%- set can_manage_record = permissions is defined and (permissions.can_edit or permissions.can_review) %} + + + {%- set is_preview_submission_request = preview_submission_request or false %} + {%- set show_record_management_menu = can_manage_record and (not is_preview or is_preview_submission_request) %} + + {%- if record.parent.access.settings %} + {%- set allow_user_requests = not current_user.is_anonymous and record.parent.access.settings.allow_user_requests %} + {%- set allow_guest_requests = current_user.is_anonymous and record.parent.access.settings.allow_guest_requests %} + {%- endif %} + + {%- block page_body %} +
+ + +