{# Copyright (C) 2026 Front Matter. Invenio App RDM is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- set title = organization.name %} {%- extends config.BASE_TEMPLATE %} {%- block css %} {{ super() }} {{ webpack['invenio-pidbox-profiles.css'] }} {%- endblock %} {%- block javascript %} {{ super() }} {{ webpack['invenio-app-rdm-search.js'] }} {%- endblock %} {%- block page_body %}
{# Profile header — full row #}

{{ organization.name }} {%- if organization.acronym %} ({{ organization.acronym }}){% endif %} ROR

{# Alternate names — full width, above the two columns #} {% if organization.additional_names %}
{{ _("Also known as") }}
{{ organization.additional_names | join(", ") }}
{% endif %} {# Type, location, website and identifiers (left) + relations (right) #}
{# Left column: type, location, website, ISNI/Wikidata/Funder ID #}
{% if organization.types %}
{{ _("Type") }}
{{ organization.types | map("capitalize") | join(", ") }}
{% endif %} {% if location %}
{{ _("Location") }}
{%- if location.id -%} {{ location.place }} {%- else -%} {{ location.place }} {%- endif -%}
{% endif %} {% if urls %}
{{ _("Website") }}
{% for url in urls %} {# Long URLs would otherwise overflow the narrow column. #}
{{ url.url }}
{% endfor %} {% endif %} {% for identifier in identifiers %}
{{ identifier.label }}
{%- if identifier.url -%} {{ identifier.value }} {%- else -%} {{ identifier.value }} {%- endif -%}
{% endfor %}
{# Right column: related organizations #}
{% if relations %} {# First in the column on desktop; on tablet/mobile the columns stack below the identity block, so it keeps its top margin there. #}

{{ _("Related organizations") }}

{{ _("Related organizations") }}

{% for group in relations %}
{{ group.label }}
{%- if not group.members %}
{{ _("None") }}
{% endif %} {%- for member in group.members %} {% endfor %}
{% endfor %} {% endif %}
{# Metrics — full width below the profile #}
{%- include "invenio_app_rdm/organizations/profile_metrics.html" %}
{# Search results — full search app pre-filtered to this organization's ROR #}
{%- endblock page_body %}