Projet

Général

Profil

0001-grandlyon-glc-provide-a-more-concise-profile-selecti.patch

Paul Marillonnet, 19 mai 2022 14:48

Télécharger (1,96 ko)

Voir les différences:

Subject: [PATCH] grandlyon-glc: provide a more concise profile selection list
 (#65436)

 .../grandlyon-glc/authentic2_idp_oidc/authorization.html | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
templates/variants/grandlyon-glc/authentic2_idp_oidc/authorization.html
41 41
         <div class="profile" id="profile-validation-{{ profile.id }}">
42 42
           <input type="radio" id="{{ profile.id }}" name="profile-validation" value="{{ profile.id }}">
43 43
           <label for="{{ profile.id }}">
44
           {% with identifier=profile.identifier type_name=profile.profile_type.name %}
45
             <div>Profil de type {{ type_name }} : {% firstof identifier "Entité inconnue" %}</div>
44
           {% with nom=profile.data.entreprise_nom siren=profile.data.entreprise_siren siret=profile.data.entreprise_siret %}
45
             <div>{{ nom }} – {% firstof siret siren "Numéro identifiant inconnu" %}</div>
46 46
           {% endwith %}
47
           {% if profile.email %}<div>Adresse courriel : {{ profile.email }}</div>{% endif %}
48
           {% if profile.data.entreprise_nom %}<div>Établissement {{ profile.data.entreprise_nom }}</div>{% endif %}
49
           {% if profile.data.entreprise_siren %}<div>Numéro SIREN : {{ profile.data.entreprise_siren }}</div>{% endif %}
50
           {% if profile.data.entreprise_siret %}<div>Numéro SIRET : {{ profile.data.entreprise_siret }}</div>{% endif %}
47
           <div>Votre courriel pro : {{ profile.email }}</div>
51 48
           </label>
52 49
         </div>
53 50
       {% endfor %}
54
-