فهرست منبع

correctif template email

garthh 1 هفته پیش
والد
کامیت
2910ecd84e
1فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
  1. 8 5
      templates/main/mailing/detail.template.html.twig

+ 8 - 5
templates/main/mailing/detail.template.html.twig

@@ -107,14 +107,16 @@
                           </td>
                         </tr>
                       </table>
-                      <h3>Le jeu</h3>
+                      <h3 style="margin:0; font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#004080;">Le jeu</h3>
                       <p style="margin:12px 0 16px 0; font-size:14px; color:#555555; line-height:1.5; font-family:Arial, Helvetica, sans-serif;">
                         {{ party.game.description }}
                       </p>
-                      <h3>La partie proposée</h3>
+                      {% if party.description %}
+                      <h3 style="margin:0; font-size:14px; font-family:Arial, Helvetica, sans-serif; color:#004080;">La partie proposée</h3>
                     <p style="margin:12px 0 16px 0; font-size:14px; color:#555555; line-height:1.5; font-family:Arial, Helvetica, sans-serif;">
                         {{ party.description }}
                       </p>
+                      {% endif %}
                       </td>
                       </tr>
                       </table>
@@ -124,14 +126,15 @@
                       
                       <!-- END GAMES LOOP -->
 
-                      <p style="margin:12px 0 16px 0; font-size:14px; color:#555555; line-height:1.5; font-family:Arial, Helvetica, sans-serif;">
-                        Vous pouvez vous inscrire dès à présent à nos animations !
-                      </p>
+
 
                       <!-- Boutons -->
                       <table role="presentation" cellpadding="0" cellspacing="0" border="0" align="center">
                         <tr>
                           <td align="center" style="border-radius:4px; background:#0066cc; padding:10px 18px;">
+                                                <p style="margin:12px 0 16px 0; font-size:14px; color:#555555; line-height:1.5; font-family:Arial, Helvetica, sans-serif;">
+                        Vous pouvez vous inscrire dès à présent à nos animations !
+                      </p>
                             <a href="{{ app_url ~ path('app_main_booking', {'id': event.id, 'view': 'pictures'})}}" style="font-size:14px; color:#ffffff; text-decoration:none; display:inline-block; font-family:Arial, Helvetica, sans-serif;">
                               Voir le détail et m'inscrire
                             </a>