{# CAREFUL : Some client might need to replicate this template #} {% extends 'communication/fr/email/notification/base.html.twig' %} {% block body %} {% set new = context.object.new %} {% set old = context.object.old %} {% set ask = context.object.ask %} {% set sender = context.object.sender %} {% set recipient = context.user %} {% set outwardOrigin = context.origin %} {% set outwardDestination = context.destination %}

Covoiturage modifié


Bonjour {{ recipient.givenName|capitalize }} {{ recipient.shortFamilyName|capitalize }}

Votre covoiturage avec {{ sender.givenName|capitalize }} {{ sender.shortFamilyName|capitalize }} a été modifié

Avatar
trajet

{{ outwardOrigin.address.displayLabel[0] }}

{{ outwardDestination.address.displayLabel[0] }}

Voici le détail des informations modifiées :

{% if old.bike != new.bike %} {% endif %} {% if old.backSeats != new.backSeats %} {% endif %} {% if old.luggage != new.luggage %} {% endif %} {% if old.seatsDriver != new.seatsDriver %} {% endif %} {% if old.comment != new.comment %} {% endif %}

Champ

Ancien

Nouveau

Vélo

{% if old.bike == true %}Oui{% else %}Non{% endif %}

{% if new.bike == true %}Oui{% else %}Non{% endif %}

2 à l'arrière

{% if old.backSeats == true %}Oui{% else %}Non{% endif %}

{% if new.backSeats == true %}Oui{% else %}Non{% endif %}

Bagages volumineux

{% if old.luggage == true %}Oui{% else %}Non{% endif %}

{% if new.luggage == true %}Oui{% else %}Non{% endif %}

Sièges disponibles

{% if old.seatsDriver == true %}Oui{% else %}Non{% endif %}

{% if new.seatsDriver == true %}Oui{% else %}Non{% endif %}

Commentaire

{{ old.comment }}

{{ new.comment }}

{% endblock %}