adapt FC templates (fixes #19948)

To conform with changes in #19947.
This commit is contained in:
Benjamin Dauvergne 2017-11-07 17:50:33 +01:00
parent fcac06183a
commit 39fb7d1e31
2 changed files with 4 additions and 7 deletions

View File

@ -6,9 +6,7 @@
<div class="cadre">
{% if user.fc_accounts.exists %}
<div class="fc-unlink">
{% for fc_account in user.fc_accounts.all %}
{% if unlink %} <a href="{% url 'fc-unlink' pk=fc_account.pk %}">Supprimer la liaison FranceConnect</a>{% endif %}
{% endfor %}
{% if unlink %} <a href="{% url 'fc-unlink' %}">Supprimer la liaison FranceConnect</a>{% endif %}
</div>
{% else %}
<div id="fc-button-wrapper">

View File

@ -6,13 +6,12 @@
<div class="a2-container">
<p>
{% blocktrans %}
You're about to delete the link between your user account and your FranceConnect account :
{{ fc_account }}.
You're about to delete the link between your user account and your FranceConnect account.
{% endblocktrans %}
</p>
<p>
{% blocktrans %}
Delete this link won't delete those accounts. However, once all the links with FranceConnect
Deleting this link won't delete those accounts. However, once all the links with FranceConnect
are deleted, it's no more possible to use the FranceConnect to automatically login to your
user account. It is still possible to link those accounts once again by using the
button FranceConnect on the login page.
@ -21,7 +20,7 @@
{% if no_password %}
<p>
{% blocktrans %}
Your user account has no password and remove this link may make this account inaccessible.
Your user account has no password and removing this link may make this account inaccessible.
To avoid this situation, please provide a password.
{% endblocktrans %}
</p>