Skip to content
Extraits de code Groupes Projets
Valider 2d713ec6 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] confirmation template to show events and sessions

parent 390ac094
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -213,4 +213,33 @@
</div>
</template>
<template
id="registration_complete"
inherit_id="website_event.registration_complete"
name="Registration Complete with sessions"
priority="20"
>
<xpath expr="//div[hasclass('flex-column')]" position="attributes">
<attribute name="t-if">not attendee.session_id</attribute>
</xpath>
<xpath expr="//div[hasclass('flex-column')]" position="after">
<div class="d-flex flex-column" t-if="attendee.session_id">
<span class="text-truncate">
<u>Atelier :</u>
</span>
<span class="fw-bold text-truncate">
<t t-if="attendee.session_id.session_name" t-out="attendee.session_id.session_name"/>
<t t-else="">N/A</t>
</span>
<span class="text-truncate text-muted">
Début : <span t-field="attendee.session_id.date_begin"/>
</span>
<span class="text-truncate text-muted">
Fin : <span t-field="attendee.session_id.date_end"/>
</span>
</div>
</xpath>
</template>
</odoo>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter