{# Copyright (C) 2020 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. #} {% macro show_detail(title, value) %}
{{ title }}
{{ title }}
{{ reference.reference + ' ( ' + reference.scheme + ' - ' + reference.identifier + ' )'}}
{% endfor %} {% endmacro %} {% macro _identifiers_for_group(related_identifiers) %} {% for identifier in related_identifiers %}{{ identifier.identifier + ' ( ' + identifier.scheme + ' )' }}
{% endfor %} {% endmacro %} {% macro show_related_identifiers(related_identifiers) %} {%- for group in related_identifiers | groupby('relation_type')%} {{ show_detail(group.grouper, _identifiers_for_group(group.list)) }} {%- endfor %} {% endmacro %} {% macro list_languages(languages) %} {% for lang in languages %} {{ lang.title_l10n }}{{ ", " if not loop.last }} {% endfor %} {% endmacro %}