Projet

Général

Profil

0011-toulouse-2022-add-text-before-login-fields-69188.patch

Nicolas Roche, 16 septembre 2022 15:08

Télécharger (1,72 ko)

Voir les différences:

Subject: [PATCH 11/13] toulouse-2022: add text before login fields (#69188)

 static/toulouse-2022/_custom.scss                           | 4 ++++
 .../toulouse-2022/authentic2/login_password_form.html       | 6 ++++++
 2 files changed, 10 insertions(+)
static/toulouse-2022/_custom.scss
608 608
#login-page > .block > div {
609 609
	padding: 1em 0.7em;
610 610
}
611 611

  
612 612
#login-password-form .title label::after {
613 613
	content: " *";
614 614
}
615 615

  
616
.block-password h3 + p::before {
617
	content: "* ";
618
}
619

  
616 620
// Additional CSS classes for dedicated cell
617 621
.login_registration_content div {
618 622
	text-align: center;
619 623
}
templates/variants/toulouse-2022/authentic2/login_password_form.html
1 1
{% extends "authentic2/login_password_form.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block login %}
5
  <h3>Vos identifiants</h3>
6
  <p>Les champs marqués d'un astérisque sont obligatoires</p>
7
  {{ block.super }}
8
{% endblock %}
9

  
4 10
{% block actions %}
5 11
{% if can_reset_password or registration_authorized %}
6 12
<div class="login-actions">
7 13
  <ul>
8 14
    {% if can_reset_password %}
9 15
    <li>
10 16
      <p>
11 17
        {# only remove the "→" before "Forgot password?" #}
12
-