custom_certificate.html.twig 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>{{ 'Certificate' | get_lang }}</title>
  6. </head>
  7. <body>
  8. <table border="0" bgcolor="#92c647" cellpadding="0" cellspacing="0" align="center" width="80%">
  9. <tr>
  10. <td bgcolor="#92c647"><img src="{{ _p.web_css_theme }}images/header_top.png" style="display: block;"></td>
  11. </tr>
  12. <tr>
  13. <td>
  14. <table border="0" cellspacing="0" cellpadding="0" width="100%">
  15. <tr>
  16. <td bgcolor="#92c647" width=58 height=91>
  17. <img src="{{ _p.web_css_theme }}images/lado-b.png" style="display:block;">
  18. </td>
  19. <td bgcolor="#92c647" width=700 height=91 style="font-family:CourierSans-Light; font-weight: bold; line-height: 47px; color:#FFF; padding-bottom: 10px; font-size: 45px;">
  20. {{ 'CertificateHeader' | get_lang }}
  21. </td>
  22. <td bgcolor="#92c647" width=58 height=91>
  23. <img src="{{ _p.web_css_theme }}images/lado-header.png" style="display:block;">
  24. </td>
  25. </tr>
  26. </table>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td>
  31. <table bgcolor="#FFFFFF" border="0" cellspacing="0" cellpadding="0" width="100%" height=900>
  32. <tr>
  33. <td bgcolor="#92c647" height=755><img src="{{ _p.web_css_theme }}images/lado-a.png" style="display:block;"></td>
  34. <td height=755 style="font-family:CourierSans-Light; line-height: 22px; color:#40ad49; padding: 40px; font-size: 18px;" valign="top">
  35. <h3 style="color: #672290; font-size: 24px;">
  36. {{ complete_name }}
  37. </h3>
  38. <p style="font-size: 16px;">
  39. {{ 'UserHasParticipateDansDePlatformeXTheContratDateXCertificateDateXTimeX' | get_lang | format(_s.site_name, certificate_generated_date_no_time, terms_validation_date_no_time, time_in_platform_in_hours)}}
  40. </p>
  41. <br />
  42. <p style="font-size: 16px;">{{ 'ThisTrainingHasXHours' | get_lang | format(time_in_platform_in_hours)}}</p><br />
  43. <p style="font-size: 16px;">{{ 'TheContentsAreValidated' | get_lang }}:</p>
  44. {% if sessions %}
  45. <ul style="color: #672290; font-size: 16px;">
  46. {% for session in sessions %}
  47. <li> {{ session.session_name }}</li>
  48. {% endfor %}
  49. </ul>
  50. {% endif %}<br />
  51. <h4 style="color: #672290; font-size: 16px;">{{ complete_name }}</h4>
  52. <p style="color:#40ad49; font-size: 16px;">{{ 'SkillsValidated' | get_lang }}:</p>
  53. {% if skills %}
  54. <ul style="color: #672290; font-size: 16px;">
  55. {% for skill in skills %}
  56. <li>{{ skill.name }}</li>
  57. {% endfor %}
  58. </ul>
  59. {% endif %}
  60. <br />
  61. <p style="color:#40ad49; font-size: 16px;">Berlin/Paris, {{ 'The' | get_lang }} <span style="font-weight: bold; color: #672290;">{{ certificate_generated_date_no_time }}</span><br />
  62. {{ 'ThePlatformTeam' | get_lang }}</p>
  63. <br />
  64. </td>
  65. <td height=755 bgcolor="#92c647">
  66. <img src="{{ _p.web_css_theme }}images/lado-b.png" style="display:block;">
  67. </td>
  68. </tr>
  69. </table>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td>
  74. <table border="0" cellspacing="0" cellpadding="0" width="100%" height=91>
  75. <tr>
  76. <td bgcolor="#92c647" width=58 height=91><img src="{{ _p.web_css_theme }}images/lado-b.png" style="display:block;"></td>
  77. <td bgcolor="#92c647" width=500 height=91 style="font-family:CourierSans-Light; line-height: 18px; color:#FFF;">
  78. {{ 'CertificateFooter' | get_lang }}
  79. </td>
  80. <td bgcolor="#92c647" width=245 height=91><img src="{{ _p.web_css_theme }}images/lado-footer.png" style="display:block;"></td>
  81. </tr>
  82. </table>
  83. </td>
  84. </tr>
  85. </table>
  86. </body>
  87. </html>