- 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>
60 lines
3.4 KiB
Twig
60 lines
3.4 KiB
Twig
{% extends 'email/base.html.twig' %}
|
|
|
|
{% block title %}Votre compte CRM Ecosplay{% 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;">Votre compte sur le <strong>CRM Ecosplay</strong> a ete cree par l'administration de l'association E-Cosplay.</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;">Vos identifiants de connexion</p>
|
|
<table style="width: 100%; font-size: 14px;">
|
|
<tr>
|
|
<td style="color: #fabf04; font-weight: bold; padding: 4px 0; width: 120px;">Email</td>
|
|
<td style="color: #fff; padding: 4px 0;">{{ email }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: #fabf04; font-weight: bold; padding: 4px 0;">Mot de passe</td>
|
|
<td style="color: #fff; padding: 4px 0; font-family: monospace; letter-spacing: 1px;">{{ tempPassword }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<p style="font-size: 14px; line-height: 1.6; margin: 0 0 16px 0;">Lors de votre premiere connexion, il vous sera demande de :</p>
|
|
<ul style="font-size: 14px; line-height: 1.8; margin: 0 0 16px; padding-left: 20px;">
|
|
<li><strong>Changer votre mot de passe</strong></li>
|
|
<li><strong>Configurer la double authentification (OTP)</strong> via une application telle que Google Authenticator, Authy ou Microsoft Authenticator</li>
|
|
</ul>
|
|
|
|
{% if groups|length > 0 %}
|
|
<p style="font-size: 14px; line-height: 1.6; margin: 0 0 8px;">Acces attribues :</p>
|
|
<ul style="font-size: 13px; line-height: 1.8; margin: 0 0 16px; padding-left: 20px;">
|
|
{% for group in groups %}
|
|
<li>
|
|
{% if group == 'gp_ticket' %}Billetterie
|
|
{% elseif group == 'gp_asso' %}Association
|
|
{% elseif group == 'gp_contest' %}Concours
|
|
{% elseif group == 'gp_mail' %}Mail
|
|
{% elseif group == 'gp_mailing' %}Mailing
|
|
{% elseif group == 'gp_sign' %}Signature electronique
|
|
{% elseif group == 'gp_ndd' %}Nom de domaine
|
|
{% else %}{{ group }}
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<table style="margin: 24px 0;">
|
|
<tr>
|
|
<td style="background: #fabf04; border: 2px solid #111827; padding: 12px 24px;">
|
|
<a href="{{ url('app_home') }}" style="color: #111827; font-weight: 900; text-transform: uppercase; font-size: 13px; text-decoration: none; letter-spacing: 1px;">Se connecter</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="font-size: 14px; line-height: 1.6; margin: 16px 0;">Une fois sur la page de connexion, cliquez sur le bouton <strong>"Connexion E-Cosplay"</strong> puis saisissez vos identifiants ci-dessus.</p>
|
|
|
|
<p style="font-size: 12px; color: #999; margin: 16px 0 0;">Pour des raisons de securite, ne partagez jamais vos identifiants. Si vous n'etes pas a l'origine de cette demande, contactez <a href="mailto:contact@e-cosplay.fr" style="color: #4338ca;">contact@e-cosplay.fr</a>.</p>
|
|
{% endblock %}
|