Projet

Général

Profil

0001-update-login-and-register-buttons-images-19162.patch

Serghei Mihai (congés, retour 15/05), 11 octobre 2017 22:37

Télécharger (19,1 ko)

Voir les différences:

Subject: [PATCH] update login and register buttons images (#19162)

 .../static/authentic2_auth_fc/img/FC-connect-button.png  | Bin 0 -> 5999 bytes
 .../static/authentic2_auth_fc/img/FC-register-button.png | Bin 0 -> 5671 bytes
 .../templates/authentic2_auth_fc/connecting.html         |   4 ++--
 .../templates/authentic2_auth_fc/linking.html            |   2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 src/authentic2_auth_fc/static/authentic2_auth_fc/img/FC-connect-button.png
 create mode 100644 src/authentic2_auth_fc/static/authentic2_auth_fc/img/FC-register-button.png
src/authentic2_auth_fc/templates/authentic2_auth_fc/connecting.html
8 8
<div id="fc-button-wrapper">
9 9
    <div id="fc-button">
10 10
        {% if not fc_user_info %}
11
        <a class="button" href="{% url 'fc-login-or-link' %}{% if request.GET.next or popup or registration %}?{% endif %}{% if next %}{{ next }}{% else %}{% if request.GET.next %}{{ request.GET.urlencode }}{% endif %}{% endif %}{% if popup %}&popup=1{% endif %}{% if registration %}&registration{% endif %}" title="{% trans 'Log in with FranceConnect' %}" class="connexion{% if popup %} js-oauth-popup{% endif %}"><div><img src="{% static "authentic2_auth_fc/img/FCboutons-10.svg" %}"></img></div></a>
11
        <a class="button" href="{% url 'fc-login-or-link' %}{% if request.GET.next or popup or registration %}?{% endif %}{% if next %}{{ next }}{% else %}{% if request.GET.next %}{{ request.GET.urlencode }}{% endif %}{% endif %}{% if popup %}&popup=1{% endif %}{% if registration %}&registration{% endif %}" title="{% trans 'Log in with FranceConnect' %}" class="connexion{% if popup %} js-oauth-popup{% endif %}"><div><img src="{% static "authentic2_auth_fc/img/FC-connect-button.png" %}"></img></div></a>
12 12
        {% else %}
13 13
            <a class="button" href="{% url 'fc-registration' %}{% if request.GET.next or popup %}?{% endif %}{% if request.GET.next %}{{ request.GET.urlencode }}{% endif %}{% if popup %}&popup=1{% endif %}" title="{% trans 'Create your account with FranceConnect' %}" class="connexion{% if popup %} js-oauth-popup{% endif %}">
14
        <div>{% trans "Create your account with FranceConnect" %}<br/><br/><span class="certified">{{ fc_user_info.given_name }} {{ fc_user_info.family_name }}{% if fc_user_info.email %}<br/>{{ fc_user_info.email }}{% endif %}</span><br/><br/><img src="{% static 'authentic2_auth_fc/img/fc_logo_micro.png' %}"></img></div></a>
14
        <div>{% trans "Create your account with FranceConnect" %}<br/><br/><span class="certified">{{ fc_user_info.given_name }} {{ fc_user_info.family_name }}{% if fc_user_info.email %}<br/>{{ fc_user_info.email }}{% endif %}</span><br/><br/><img src="{% static 'authentic2_auth_fc/img/FC-register-button.png' %}"></img></div></a>
15 15
        {% endif %}
16 16
    </div>
17 17
    {% block fc-explanation %}
src/authentic2_auth_fc/templates/authentic2_auth_fc/linking.html
19 19
        <p>
20 20
          <div id="fc-button-wrapper">
21 21
              <div id="fc-button">
22
                  <a class="button" href="{% url 'fc-login-or-link' %}?next={% url 'account_management' %}" title="{% trans 'Link with a FranceConnect account' %}" class="connexion"><div>{% trans "Link with a FranceConnect account" %}<img src="{% static 'authentic2_auth_fc/img/FCboutons-10.svg' %}"></img></div></a>
22
                  <a class="button" href="{% url 'fc-login-or-link' %}?next={% url 'account_management' %}" title="{% trans 'Link with a FranceConnect account' %}" class="connexion"><div>{% trans "Link with a FranceConnect account" %}<img src="{% static 'authentic2_auth_fc/img/FC-connect-button.png' %}"></img></div></a>
23 23
              </div>
24 24
          </div>
25 25
        </p>
26
-