Browse Source

Oubli d'un "/" pour un chemin pour les party request et correctif ML

garthh 3 weeks ago
parent
commit
e21fbe0af4

+ 1 - 1
templates/main/booking.planning.html.twig

@@ -64,7 +64,7 @@
     	{%  if is_granted('ROLE_USER') %}
     	<p class="block"><a href="{{ path('app_party_request', {id: event.id}) }}" class="button is-info open-modal">Demander une partie</a></p>
     	{% else %}
-    	<p>Vous devez disposer d'un compte utilisateur pour réaliser une demande. <a href="{{ app_url }}login">Connectez-vous ou créez un compte.</a></p>
+    	<p>Vous devez disposer d'un compte utilisateur pour réaliser une demande. <a href="{{ app_url }}/login">Connectez-vous ou créez un compte.</a></p>
     	{% endif %}
     </div>
 	</div>

+ 4 - 4
templates/main/mailinglist.template.html.twig

@@ -14,7 +14,7 @@
             <!-- HEADER -->
             <tr>
               <td style="padding:20px; text-align:center; background-color:#0066cc; color:#ffffff; font-family:Arial, Helvetica, sans-serif;">
-                <h1 style="margin:0; font-size:24px;">✨ Nos événements du mois</h1>
+                <h1 style="margin:0; font-size:24px;">✨ Nos événements du mois</h1>
               </td>
             </tr>
 
@@ -70,13 +70,13 @@
                         	{% endif %}
                     	{% endfor %}
 											{% if authors|length > 0 %}
-											{% for gamemaster in authors %}
 											<p style="margin:12px 0 16px 0; font-size:16px; color:#333333; line-height:1.5; font-family:Arial, Helvetica, sans-serif;"><strong>Les auteur(rice)s présent(e)s</strong></p>
-                      <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" 
+											{% for gamemaster in authors %}
+											<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" 
                              style="background:#f5f5f5; border-radius:6px; margin-bottom:16px;">
                      		
                         <tr>
-                          <td style="padding:12px;" width="128">
+                          <td valign="top" style="padding:12px;vertical-align: top;" width="128">
                             <img src="{{ ('/gamemasters/' ~ (gamemaster.picture ?: 'placeholder.webp'))|base64img }}" alt="{{ gamemaster.preferedName }}" width="128" style="display:block; border-radius:6px;">
                           </td>
                           <td style="padding:12px; vertical-align:top;">