{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. 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 list_entities(entities) %} {% for entity in entities %} {# TODO: Revisit when more than ORCiD accepted #} {%- if "orcid" in entity.identifiers %} {%- elif "ror" in entity.identifiers %} {# TODO: Use ROR icon when they come up with one #} {# if no identifiers: distinguish btw people and organizations #} {%- elif entity.type == "organizational" %} {%- endif %} {{entity.name}} {% endfor %} {%- endmacro %} {% macro list_affiliations(entities) %} {% for entity in entities %}
{{entity.affiliations[0].name}}

{% endfor %} {%- endmacro %}