grandlyon-glc: sync fc linking template with authentic (#67529)
This commit is contained in:
parent
68375b6c70
commit
6f80ac4317
|
@ -1,9 +1,7 @@
|
|||
{% load staticfiles %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}">
|
||||
|
||||
<div id="fc-linking">
|
||||
<div id="fc-linking" class="{% if user.fc_accounts.exists %}with-accounts{% else %}no-account{% endif %}">
|
||||
<div class="fc">
|
||||
<div class="cadre">
|
||||
{% if user.fc_accounts.exists %}
|
||||
|
@ -11,21 +9,17 @@
|
|||
{% if unlink %} <a href="{% url 'fc-unlink' %}">Supprimer la liaison FranceConnect</a>{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<p>
|
||||
<div id="fc-button-wrapper">
|
||||
<div id="fc-button">
|
||||
<a href="{{ link_url }}?next={% url 'account_management' %}" class="button linking-button connexion">
|
||||
<span class="sr-only">{% trans "Link with a FranceConnect account" %}</span>
|
||||
</a>
|
||||
<p>
|
||||
<div id="fc-button-wrapper">
|
||||
<div id="fc-button">
|
||||
<a href="{{ link_url }}?next={% url 'account_management' %}" class="button linking-button connexion">
|
||||
<span class="sr-only">{% trans "Link with a FranceConnect account" %}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<a href="{{ about_url }}" target="_blank" rel="noopener" title="ouverture dans une nouvelle fenêtre">
|
||||
{% trans "What is FranceConnect?" %}
|
||||
</a>
|
||||
</p>
|
||||
<p><a href="{{ about_url }}" target="_blank" rel="noopener" title="{% trans "opens in new window" %}">{% trans "What is FranceConnect?" %}</a></p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue