{% extends "base_template.html" %} {% set title = "Connected identities" %} {# The page the original application had extended a "base.html" that does not exist, so it never rendered; this is the same content on the product layout. #} {% block content %}

Connected Identities

Manage your linked accounts.

{% if user.email %}
Email

{{ user.email }}

Primary
{% endif %} {% for identity in identities %} {# The provider's name and, when it says where, a link to the linked account on its site (an ORCID iD at orcid.org). #} {% set registered = providers.get(identity.provider) %} {% set account_url = registered.account_url(identity) if registered and registered.account_url else None %}
{{ registered.label if registered else identity.provider.capitalize() }}

{% if account_url %} {{ identity.provider_username or identity.provider_id }} {% else %} {{ identity.provider_username or identity.provider_id }} {% endif %}

{% if can_disconnect.get(identity.provider, True) %}
{% else %} {# The only way the account signs in: a password of its own comes first. #} {{ _('Set a password') }} {% endif %}
{% endfor %}
Back
{% endblock %}