- Add for/id attributes to all form labels for accessibility compliance - Add <title> tags to PDF templates (rgpd_access, rgpd_no_data, rgpd_deletion, contrat_revendeur) - Add role="presentation" to email layout tables - Remove deprecated cellpadding/cellspacing attributes from all templates - Fix PHPUnit notices by replacing createMock with createStub where no expectations are set Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
75 lines
4.5 KiB
Twig
75 lines
4.5 KiB
Twig
{% extends 'email/base.html.twig' %}
|
|
|
|
{% block title %}Bienvenue chez E-Cosplay - Espace Revendeur{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 style="font-size: 20px; font-weight: bold; text-transform: uppercase; margin: 0 0 16px 0;">Bienvenue {{ firstName }} !</h1>
|
|
<p style="font-size: 14px; line-height: 1.6; margin: 0 0 16px 0;">Nous avons le plaisir de vous informer que votre compte <strong>revendeur</strong> a ete cree sur le CRM Ecosplay.</p>
|
|
|
|
<div style="background: #111827; color: #fff; padding: 20px; margin: 20px 0;">
|
|
<p style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; opacity: 0.7;">Votre code revendeur</p>
|
|
<p style="font-size: 28px; font-weight: 900; color: #fabf04; text-align: center; font-family: monospace; letter-spacing: 4px; margin: 0;">{{ codeRevendeur }}</p>
|
|
</div>
|
|
|
|
<p style="font-size: 14px; line-height: 1.6; margin: 0 0 8px; font-weight: bold;">Pour acceder a votre espace, suivez ces etapes :</p>
|
|
|
|
<table style="width: 100%; margin: 16px 0;">
|
|
<tr>
|
|
<td style="padding: 12px 16px; border-left: 4px solid #fabf04; background: #f9fafb;">
|
|
<p style="font-size: 12px; font-weight: 900; text-transform: uppercase; color: #fabf04; margin: 0 0 4px;">Etape 1</p>
|
|
<p style="font-size: 14px; margin: 0; line-height: 1.6;">Cliquez sur le bouton ci-dessous pour <strong>definir votre mot de passe</strong>. Ce lien est a usage unique.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td style="height: 8px;"></td></tr>
|
|
<tr>
|
|
<td style="padding: 12px 16px; border-left: 4px solid #fabf04; background: #f9fafb;">
|
|
<p style="font-size: 12px; font-weight: 900; text-transform: uppercase; color: #fabf04; margin: 0 0 4px;">Etape 2</p>
|
|
<p style="font-size: 14px; margin: 0; line-height: 1.6;">Une fois votre mot de passe defini, rendez-vous sur la page de connexion et identifiez-vous avec votre email <strong>{{ email }}</strong> et votre nouveau mot de passe.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td style="height: 8px;"></td></tr>
|
|
<tr>
|
|
<td style="padding: 12px 16px; border-left: 4px solid #fabf04; background: #f9fafb;">
|
|
<p style="font-size: 12px; font-weight: 900; text-transform: uppercase; color: #fabf04; margin: 0 0 4px;">Etape 3</p>
|
|
<p style="font-size: 14px; margin: 0; line-height: 1.6;">Vous accederez a votre <strong>Espace Revendeur</strong> ou vous pourrez gerer vos ventes, commandes et factures.</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table style="margin: 24px 0; width: 100%;">
|
|
<tr>
|
|
<td style="background: #fabf04; border: 2px solid #111827; padding: 14px 24px; text-align: center;">
|
|
<a href="{{ setPasswordUrl }}" style="color: #111827; font-weight: 900; text-transform: uppercase; font-size: 14px; text-decoration: none; letter-spacing: 1px;">Definir mon mot de passe</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table style="margin: 0 0 24px; width: 100%;">
|
|
<tr>
|
|
<td style="background: #fff; border: 2px solid #111827; padding: 12px 24px; text-align: center;">
|
|
<a href="{{ url('app_home') }}" style="color: #111827; font-weight: 900; text-transform: uppercase; font-size: 12px; text-decoration: none; letter-spacing: 1px;">Acceder a la page de connexion</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div style="background: #f9fafb; padding: 16px; border: 1px solid #e5e7eb; margin: 16px 0;">
|
|
<p style="font-size: 12px; font-weight: bold; margin: 0 0 8px;">Informations de votre compte :</p>
|
|
<table style="font-size: 12px; width: 100%;">
|
|
<tr>
|
|
<td style="padding: 2px 0; color: #666; width: 120px;">Code revendeur</td>
|
|
<td style="padding: 2px 0; font-weight: bold; font-family: monospace;">{{ codeRevendeur }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 2px 0; color: #666;">Email</td>
|
|
<td style="padding: 2px 0; font-weight: bold;">{{ email }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 2px 0; color: #666;">Nom</td>
|
|
<td style="padding: 2px 0; font-weight: bold;">{{ firstName }} {{ lastName }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<p style="font-size: 12px; color: #999; margin: 16px 0 0;">Pour toute question, contactez-nous a <a href="mailto:contact@e-cosplay.fr" style="color: #4338ca;">contact@e-cosplay.fr</a>. Conservez precieusement votre code revendeur {{ codeRevendeur }}.</p>
|
|
{% endblock %}
|