{# SPDX-License-Identifier: MIT SPDX-FileCopyrightText: 2023 CERN. SPDX-FileCopyrightText: 2025 Graz University of Technology. SPDX-FileCopyrightText: 2026 TU Wien #} {# Render an organization as a link to its ROR page if it has a ROR ID, or as plaintext #} {%- macro render_organization(org) %} {%- set ns = namespace(ror_id="") %} {%- for identifier in org.identifiers %} {%- if identifier.scheme == "ror" %} {%- set ns.ror_id = identifier.identifier %} {{ ror_id }} {%- endif %} {%- endfor %} {%- if ns.ror_id %} {{ org.name }} {%- else %} {{ org.name }} {%- endif %} {%- endmacro %} {% extends "invenio_communities/details/base.html" %} {% from "invenio_communities/details/macros/custom_fields.html" import list_vocabulary_values, list_string_values, show_custom_field %} {% set active_community_header_menu_item= 'about' %} {%- block page_body %} {{ super() }}

{{ _("Project information") }}

{{ community.metadata.page | safe }}

{{ _("Project partners") }}

{% if community.metadata.organizations %} {% for org in community.metadata.organizations %} {{ render_organization(org) }}{{ "," if not loop.last }} {% endfor %} {%- endif %}
{% if community_ui["ui"]["funding"]|length %}

{{ _("Funding") }}

{% for funding in community_ui["ui"]["funding"] %}
{% if funding.award %}
{{ funding.award.title_l10n }} {% if funding.award.identifiers|length and funding.award.identifiers[0].scheme == "url" %} {% endif %}
{% endif %} {% if funding.funder %}
{{ funding.funder.name }}
{% endif %}
{% endfor %}
{% endif %} {# custom fields #} {% set custom_fields = community_ui["ui"]["custom_fields"] %} {% for section_cfg in custom_fields_ui if custom_fields %} {% set section_fields = section_cfg.fields %}

{{ section_cfg.section }}

{% for field_cfg in section_fields %} {% set field_value = custom_fields.get(field_cfg.field) %} {% if field_value and field_cfg.template %} {% include field_cfg.template %} {% elif field_value and not field_cfg.template %}
{{ field_cfg.props.label }}
{{ show_custom_field(field_value, field_cfg) }} {% endif %} {% endfor %} {%- endfor %}
{%- endblock page_body -%}