{# -*- coding: utf-8 -*- Copyright (C) 2022 Graz University of Technology. Copyright (C) 2022-2024 TU Wien. Invenio-DAMAP is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {% from "invenio_damap/macros/detail.html" import render_dmp_button %} {# 2 constraints: Must be record owner and the record must be published #} {% if current_user.id|string == record.parent.access.owned_by.user and record.is_published %}

{{ _('Additional actions') }}

{{ render_dmp_button() }}
{{ webpack['invenio-damap.js'] }} {% endif %}