Projet

Général

Profil

0003-auth_fc-reshuffle-fc-link-page-layout-69850.patch

Paul Marillonnet, 04 octobre 2022 15:34

Télécharger (2,09 ko)

Voir les différences:

Subject: [PATCH 3/4] auth_fc: reshuffle fc link page layout (#69850)

 .../templates/authentic2_auth_fc/linking.html | 21 ++++++++++---------
 1 file changed, 11 insertions(+), 10 deletions(-)
src/authentic2_auth_fc/templates/authentic2_auth_fc/linking.html
12 12
          <li class="picto utilisateur"><p class="lien">{{ user.fc_accounts.all.0 }}{% if unlink %} <a href="{% url 'fc-unlink' %}">{% trans 'Delete link'%}</a>{% endif %}</p></li>
13 13
        </ul>
14 14
      {% else %}
15
        <p>
16
          <div id="fc-button-wrapper">
17
            <div id="fc-button">
18
              <div>{% trans "Link your user account to FranceConnect" %}</div>
19
              <a href="{{ link_url }}" class="button linking-button connexion">
20
                <span class="sr-only">{% trans "Link with a FranceConnect account" %}</span>
21
              </a>
22
            </div>
15
        <div>{% trans "Link your user account to FranceConnect." %}</div>
16
        {% include "authentic2_auth_fc/explanation.html" %}
17
        <div id="fc-button-wrapper">
18
          <div id="fc-button">
19
            <a href="{{ link_url }}" class="button linking-button connexion">
20
              <span class="sr-only">{% trans "Link with a FranceConnect account" %}</span>
21
            </a>
23 22
          </div>
24
        </p>
23
        </div>
25 24
      {% endif %}
26 25
    </div>
27 26
  </div>
28
  <p><a href="{{ about_url }}" target="_blank" rel="noopener" title="{% trans "opens in new window" %}">{% trans "What is FranceConnect?" %}</a></p>
27
  <div id="fc-explanation-link">
28
    <a href="{{ about_url }}" target="_blank" rel="noopener" title="{% trans "opens in new window" %}">{% trans "What is FranceConnect?" %}</a>
29
  </div>
29 30
</div>
30
-