{# A section of profile's edit page (profile.edit.sections), below the profile form. The iD links to its record on ORCID (orcid_url, on the ORCID the product signs in with). The disconnect button opens identities' modal, which posts the provider and iD it carries; for the only way the account signs in, a link to set a password comes first. The colours are in assets/css/orcid.css, and the mark is simple-icons' (icon(set='brands')), drawn in currentColor. #} {% if identity %}
{{ icon('orcid', set='brands', class_='orcid-mark') }} {{ identity.provider_id }} {% if can_disconnect %} {% else %} {# The only way the account signs in: a password of its own comes first, on My account, and then it can be disconnected. #} {{ _('Set a password to disconnect it') }} {% endif %}
{% else %}
{{ icon('orcid', set='brands', class_='orcid-mark') }} {{ _('Connect ORCID') }}
{% endif %}