custom_certificate.tpl 7.5 KB

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