{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Copyright (C) 2021 Graz University of Technology. Copyright (C) 2021 New York University. Copyright (C) 2024 KTH Royal Institute of Technology. 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. #} {% macro license_link(license) %} {% if license.link %} {{ _('Read more') }} {% elif license.props and license.props.url %} {{ _('Read more') }} {% endif %} {% endmacro %} {% set rights = record.ui.get('rights', []) %} {% set copyrights = record.get('metadata', {}).get('copyright') %} {% if rights or copyrights %} {% endif %}