api/templates/communicationAlt/fr/email/notification/carpool_matching_new.html.twig
{# CAREFUL : Some client might need to replicate this template #}
{% extends 'communicationAlt/fr/email/notification/base.html.twig' %}
{% block body %}
{% set recipient = context.user %}
<table style="width:480px; font-family:{{api_env('EMAILS_FONT')}}, sans-serif;" cellpadding="0" cellspacing="0" summary="" border="0">
<tr style="margin-bottom:21px; margin-top:19px;">
<td align="center">
<table cellpadding="6" cellspacing="6" summary="" border="0">
<tr>
<td align="center">
<p style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}; font-size:22px;" text-align="center" ><b>Une nouvelle annonce correspond à votre trajet</b></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:15px">
<p> </p>
</td>
</tr>
{# intro #}
<tr>
<td align="center">
<table style="width:100%;" cellpadding="2" cellspacing="2" summary="" border="0" >
<tr>
<td align="left">
<p style="font-size:13px; margin-bottom:16px;">Bonjour {{recipient.givenName|capitalize}} {{recipient.shortFamilyName|capitalize}},</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<table style="width:100%;" cellpadding="2" cellspacing="2" summary="" border="0" >
<tr>
<td align="left">
<p style="font-size:13px; margin-bottom:16px;">Une nouvelle annonce de covoiturage correspondant à votre trajet entre {{ (context.matching.waypoints|first).address.addressLocality }} et {{ (context.matching.waypoints|last).address.addressLocality }} vient d'être publiée.</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<table style="width:100%;" cellpadding="2" cellspacing="2" summary="" border="0" >
<tr>
<td align="left">
<p style="font-size:13px; margin-bottom:16px;">Rendez-vous dans <a href="{{api_env('EMAILS_PLATFORM_URL')}}/utilisateur/profil/modifier/mes-annonces" style="color:{{api_env('EMAILS_COLOR_SECONDARY')}};">Mes annonces</a> pour consulter les annonces correspondantes et proposer un covoiturage.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
{% endblock %}