Projet

Général

Profil

0001-templates-do-not-include-password-registration-block.patch

Frédéric Péters, 26 mars 2019 10:22

Télécharger (4,46 ko)

Voir les différences:

Subject: [PATCH] templates: do not include password registration block along
 others (#31718)

 templates/registration/registration_form.html                   | 2 ++
 .../grenoble-metropole-2019/registration/registration_form.html | 2 ++
 .../grenoble-metropole/registration/registration_form.html      | 2 ++
 .../variants/montpellier/registration/registration_form.html    | 2 ++
 .../strasbourg-2018/registration/registration_form.html         | 2 ++
 templates/variants/toulouse/registration/registration_form.html | 2 +-
 6 files changed, 11 insertions(+), 1 deletion(-)
templates/registration/registration_form.html
33 33

  
34 34
{% block registration-other-methods %}
35 35
{% for id, block in frontends.items %}
36
  {% if id != "password" %}
36 37
  <div id="frontend-registration-{{ id }}" class="a2-block">
37 38
    <h2>{{ block.name }}</h2>
38 39

  
......
40 41
      {{ block.content|safe }}
41 42
    </div>
42 43
  </div>
44
  {% endif %}
43 45
{% endfor %}
44 46
{% endblock %}
45 47

  
templates/variants/grenoble-metropole-2019/registration/registration_form.html
14 14
</div>
15 15

  
16 16
{% for id, block in frontends.items %}
17
  {% if id != "password" %}
17 18
  <div id="frontend-registration-{{ id }}" class="a2-block">
18 19
    <h2>{{ block.name }}</h2>
19 20

  
......
21 22
      {{ block.content|safe }}
22 23
    </div>
23 24
  </div>
25
  {% endif %}
24 26
{% endfor %}
25 27

  
26 28
{% endblock %}
templates/variants/grenoble-metropole/registration/registration_form.html
14 14
</div>
15 15

  
16 16
{% for id, block in frontends.items %}
17
  {% if id != "password" %}
17 18
  <div id="frontend-registration-{{ id }}" class="a2-block">
18 19
    <h2>{{ block.name }}</h2>
19 20

  
......
21 22
      {{ block.content|safe }}
22 23
    </div>
23 24
  </div>
25
  {% endif %}
24 26
{% endfor %}
25 27

  
26 28
{% endblock %}
templates/variants/montpellier/registration/registration_form.html
19 19
   </form>
20 20
  </div>
21 21
  {% for id, block in frontends.items %}
22
  {% if != "password" %}
22 23
  <div>
23 24
    {{ block.content|safe }}
24 25
  </div>
26
  {% endif %}
25 27
  {% endfor %}
26 28
</div>
27 29

  
templates/variants/strasbourg-2018/registration/registration_form.html
19 19
</div>
20 20

  
21 21
{% for id, block in frontends.items %}
22
  {% if id != "password" %}
22 23
  <div class="registration_frontend">
23 24
    <h3>S'inscrire avec {{ block.name }}</h3>
24 25
    <p>
25 26
      {{ block.content|safe }}
26 27
    </p>
27 28
  </div>
29
  {% endif %}
28 30
{% endfor %}
29 31

  
30 32
{% endblock %}
templates/variants/toulouse/registration/registration_form.html
3 3

  
4 4
{% block registration-pre %}
5 5
<div class="a2-block" id="registration-title"><h2>S'inscrire</h2>
6
{% if frontends.items|length %}
6
{% if frontends.items|length > 1 %}
7 7
<p>Pour accéder à ces téléservices, vous devez vous identifier en
8 8
choisissant l'une des possibilités ci-dessous :</p>
9 9
{% else %}
10
-