{% extends "base.html" %} {% block title %}{{ _('Database') }} #{{ component.id }}: {{ component.get_name() }} — {{ service_name }}{% endblock %} {% block stylesheets %} {{ super() }} {% endblock %} {% block content %} {% if config['FEDERATION_UUID'] is none %} {% endif %}

{{ _('Database') }} #{{ component.id }}: {{ component.get_name() }}

{{ _('Address') }}: {% if component.address is not none %}{{ component.address }}{% else %}—{% endif %}

{{ _('UUID') }}: {{ component.uuid }}

{{ component.description }}

{% if current_user.is_admin and not current_user.is_readonly %} {% if edit_component_form %} {% endif %} {% if sync_component_form %} {% if component.address is not none and own_api_tokens %} {% endif %} {% endif %}

{{ _('Authentication Tokens') }}

{{ _('Export') }}

{{ _('Tokens used by %(component_name)s to authenticate when requesting data from this database.', component_name=component.get_name()) }}

{% if api_tokens %} {% for authentication in api_tokens %} {% endfor %} {% endif %}
{{ _('Description') }}
{{ authentication.login['description'] }}
{{ authentication_method_form.csrf_token() }}

{{ _('Import') }}

{{ _('Tokens used by this database to authenticate when requesting data from %(component_name)s.', component_name=component.get_name()) }}

{% if own_api_tokens %} {% for authentication in own_api_tokens %} {% endfor %} {% endif %}
{{ _('Description') }}
{{ authentication.login['description'] }}
{{ authentication_method_form.csrf_token() }}
{% if created_api_token %} {% endif %} {% if edit_component_form %} {% endif %} {% endif %}

{{ _('User Alias') }}

{% if alias %}
{{ _('User Alias shared with %(component_name)s', component_name=component.get_name()) }}
{{ _('Name') }} {% if alias.name is none %} — {% else %} {{ alias.name }} {% endif %} {% if alias['use_real_name'] %} {{ _('(Taken from profile)') }} {% endif %}
{{ _('E-Mail') }} {% if alias.email is none %} — {% else %} {{ alias.email }} {% endif %} {% if alias['use_real_email'] %} {{ _('(Taken from profile)') }} {% endif %}
ORCID iD {% if alias.orcid is none %} — {% if alias['use_real_orcid'] %} {{ _('(Taken from profile)') }} {% endif %} {% else %}
ORCID iD iconhttps://orcid.org/{{ alias.orcid }} {% if alias['use_real_orcid'] %} {{ _('(Taken from profile)') }} {% endif %}
{% endif %}
{{ _('Affiliation') }} {% if alias.affiliation is none %} — {% else %} {{ alias.affiliation }} {% endif %} {% if alias['use_real_affiliation'] %} {{ _('(Taken from profile)') }} {% endif %}
{{ _('Role') }} {% if alias.role is none %} — {% else %} {{ alias.role }} {% endif %} {% if alias['use_real_role'] %} {{ _('(Taken from profile)') }} {% endif %}
{{ _('User Alias Settings') }}
{% else %}

{{ _('As you have not configured an user alias yet, no personal information about you is shared with %(component_name)s.', component_name=component.get_name()) }}

{{ _('Create User Alias for %(component_name)s', component_name=component.get_name()) }} {% endif %} {% endblock %} {% block scripts %} {{ super() }} {% if show_edit_form %} {% endif %} {% if created_api_token %} {% endif %} {% endblock %}