{# -*- coding: utf-8 -*- Copyright (C) 2020-2021 CERN. Copyright (C) 2020-2022 TU Wien. Invenio 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 show_license(license) %} {%- if license.link %} {%- set license_link = license.link %} {%- elif license.props and license.props.url %} {%- set license_link = license.props.url %} {%- else %} {%- set license_link = "#" %} {%- endif %}
{{ license.title_l10n }}
{%- endmacro %} {% macro show_licenses(licenses) %} {%- for license in licenses %} {{ show_license(license) }} {% endfor %} {%- endmacro %}