Projet

Général

Profil

0001-templates-add-CSS-classes-to-account-management-acti.patch

Frédéric Péters, 17 juillet 2019 09:17

Télécharger (5,57 ko)

Voir les différences:

Subject: [PATCH] templates: add CSS classes to account management actions
 (#29765)

 templates/authentic2/accounts.html                        | 8 ++++----
 templates/authentic2/login_password_profile.html          | 4 ++--
 .../variants/bouches-du-rhone/authentic2/accounts.html    | 2 +-
 .../variants/haute-garonne-cd31/authentic2/accounts.html  | 2 +-
 templates/variants/lille/authentic2/accounts.html         | 2 +-
 .../variants/nancy-en-direct/authentic2/accounts.html     | 2 +-
 templates/variants/quimper/authentic2/accounts.html       | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)
templates/authentic2/accounts.html
42 42
      {% block account-management-top-actions %}
43 43
      {% endblock %}
44 44
      {% if allow_email_change %}
45
      <li><a href="{% url 'email-change' %}">Modifier le courriel associé</a></li>
45
      <li class="email-change"><a href="{% url 'email-change' %}">Modifier le courriel associé</a></li>
46 46
      {% endif %}
47 47
      {{ frontends_block_by_id.password.content|safe }}
48 48
      {% if profile_edit_url %}
49
      <li><a href="{{ profile_edit_url }}">Éditer les données du compte</a></li>
49
      <li class="profile-edit"><a href="{{ profile_edit_url }}">Éditer les données du compte</a></li>
50 50
      {% elif allow_profile_edit %}
51
      <li><a href="{% url 'profile_edit' %}">Éditer les données du compte</a></li>
51
      <li class="profile-edit"><a href="{% url 'profile_edit' %}">Éditer les données du compte</a></li>
52 52
      {% endif %}
53 53
      {% if allow_account_deletion %}
54
      <li><a href="{% url 'delete_account' %}">Supprimer le compte</a></li>
54
      <li class="account-delete"><a href="{% url 'delete_account' %}">Supprimer le compte</a></li>
55 55
      {% endif %}
56 56
      {% block account-management-bottom-actions %}
57 57
      {% endblock %}
templates/authentic2/login_password_profile.html
1 1
{% if can_change_password %}
2 2
  {% if has_usable_password %}
3
    <li><a href="{% url 'password_change' %}">Modifier le mot de passe</a></li>
3
    <li class="password-change"><a href="{% url 'password_change' %}">Modifier le mot de passe</a></li>
4 4
  {% else %}
5
    <li><a href="{% url 'password_change' %}">Définir un mot de passe</a></li>
5
    <li class="password-set"><a href="{% url 'password_change' %}">Définir un mot de passe</a></li>
6 6
  {% endif %}
7 7
{% endif %}
templates/variants/bouches-du-rhone/authentic2/accounts.html
1 1
{% extends "authentic2/accounts.html" %}
2 2

  
3 3
{% block account-management-bottom-actions %}
4
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
4
<li class="account-logout"><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
5 5
{% endblock %}
templates/variants/haute-garonne-cd31/authentic2/accounts.html
1 1
{% extends "authentic2/accounts.html" %}
2 2

  
3 3
{% block account-management-bottom-actions %}
4
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
4
<li class="account-logout"><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
5 5
{% endblock %}
templates/variants/lille/authentic2/accounts.html
1 1
{% extends "authentic2/accounts.html" %}
2 2

  
3 3
{% block account-management-bottom-actions %}
4
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
4
<li class="account-logout"><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
5 5
{% endblock %}
templates/variants/nancy-en-direct/authentic2/accounts.html
1 1
{% extends "authentic2/accounts.html" %}
2 2

  
3 3
{% block account-management-bottom-actions %}
4
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
4
<li class="account-logout"><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
5 5
{% endblock %}
templates/variants/quimper/authentic2/accounts.html
1 1
{% extends "authentic2/accounts.html" %}
2 2

  
3 3
{% block account-management-bottom-actions %}
4
<li><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
4
<li class="account-logout"><a href="{% url 'auth_logout' %}">Déconnecter</a></li>
5 5
{% endblock %}
6
-