authentic2-auth-fedict/src/authentic2_auth_fedict/templates/authentic2_auth_fedict/profile.html

32 lines
1.2 KiB
HTML

{% load i18n static %}
<div>
{% if has_itsme %}
<img src="{% static "authentic2_auth_fedict/img/beid-itsme.png" %}" alt="">
{% else %}
<img src="{% static "authentic2_auth_fedict/img/beid_image_mini.png" %}" alt="">
{% endif %}
{% if user_saml_identifiers %}
<p>{% blocktrans %}This account is linked to your eID card.{% endblocktrans %}</p>
<div class="unlink-block">
<p>
{% blocktrans %}
You may want to unlink your account, although you will not be able to
connect to your account using your eID card (without re-doing the linking
procedure).
{% endblocktrans %}
</p>
<p><a class="button" href="{% url "fedict-unlink" %}">{% trans "Unlink my account" %}</a></p>
</div>
{% else %}
<p>
{% spaceless %}
{% trans "You may want to link your existing account to your eID." %}
{% trans "In order to do so, you will need your eID card and a card reader" %}{% if has_tokens %}
{% trans "or your list of personal tokens" %}{% endif %}{% if has_itsme %}
{% trans "or an itsme account" %}{% endif %}.
{% endspaceless %}
</p>
<p><a class="button" href="{% url "fedict-login" %}?next=/accounts/">{% trans "Link my account to my eID card" %}</a></p>
{% endif %}
</div>