mail.html.twig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{{ _s.institution }}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  7. <script type="application/ld+json">
  8. {
  9. "@context": "http://schema.org",
  10. "@type": "EmailMessage",
  11. "description": "Chamilo Mail Notification",
  12. "potentialAction": {
  13. "@type": "ViewAction",
  14. "target": "{{ link }}"
  15. }
  16. }
  17. </script>
  18. </head>
  19. <body style="margin: 0; padding: 0; ">
  20. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  21. <tr>
  22. <td>
  23. <table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse;">
  24. <tr>
  25. <td>
  26. {% include template ~ '/mail/header.html.twig' %}
  27. </td>
  28. </tr>
  29. <tr>
  30. <td cellpadding="0" cellspacing="0" style="padding: 40px 10px">
  31. <span {{ mail_content_style }}>
  32. {{ content }}
  33. </span>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td>
  38. {% include template ~ '/mail/footer.html.twig' %}
  39. </td>
  40. </tr>
  41. </table>
  42. </td>
  43. </tr>
  44. </table>
  45. </body>
  46. </html>