{# 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 %} {#- Laid out like a record's page: the organization in a main column, its type, place, website and identifiers in a Details box in the sidebar, in InvenioRDM's own sidebar markup; then the metrics and its works. #}

{{ organization.name }}

{#- Its other names in grey under the name, the abbreviation first. #} {%- set other_names = ([organization.acronym] if organization.acronym else []) + (organization.additional_names or []) %} {% if other_names %}

{{ other_names | join(", ") }}

{% endif %} {% if relations %}

{{ _("Related organizations") }}

{% for group in relations %}
{{ group.label }}
{%- for member in group.members %} {#- display-inline: the details list makes every link a block (dl.details-list a), which would put the icon on a line of its own. #} {%- endfor %}
{% endfor %}
{% endif %}
{%- if has_works is not defined or has_works %} {# Metrics — in line with the search results below: the search app puts its facets in a four wide column and the results in a twelve wide one, so the open license ring takes the facets' width and the cards the results'. #}
{#- The share of the works with an open license, beside the cards. #}
{%- with donut_id="profile-license", donut_api="/api/records", donut_query=pidbox_organization_query(ror), donut_search="/search" %} {%- include "invenio_pidbox/license_donut.html" %} {%- endwith %}
{%- include "invenio_app_rdm/organizations/profile_metrics.html" %}
{%- endif %}
{# Search results — full search app pre-filtered to this organization's ROR. Left out for an organization without works here, affiliated or funded: its page is there, since organizations are searched in the whole store, but an empty search would only answer "We couldn't find any matches". has_works is undefined where the route didn't set it, which keeps them. #} {%- if has_works is not defined or has_works %}

{{ _("Works") }}

{%- endif %} {%- endblock page_body %}