table_pdf.tpl 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {{ organization }}
  2. <h2 align="center"> {{ pdf_title }} </h2>
  3. {% if pdf_description %}
  4. {{ pdf_description }}
  5. <br /><br />
  6. {% endif %}
  7. <table align="center" width="100%">
  8. <tr>
  9. <td>
  10. <strong>{{ "Teacher" | get_lang }}:</strong> {{ pdf_teachers }}
  11. </td>
  12. </tr>
  13. {% if pdf_session_info %}
  14. <tr>
  15. <td>
  16. <strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.name }}
  17. </td>
  18. {% if pdf_session_info.description %}
  19. <td>
  20. <strong>{{ "Description" | get_lang }}:</strong> {{ pdf_session_info.description }}
  21. </td>
  22. {% endif %}
  23. </tr>
  24. {% if pdf_session_info.date_start != '0000-00-00' and pdf_session_info.date_end != '0000-00-00' %}
  25. <tr>
  26. <td>
  27. <strong>{{ "PeriodToDisplay" | get_lang }}:</strong> {{ "FromDateXToDateY"| get_lang | format(pdf_session_info.date_start, pdf_session_info.date_end ) }}
  28. </td>
  29. </tr>
  30. {% endif %}
  31. {% endif %}
  32. {% if pdf_course_info %}
  33. <tr>
  34. <td>
  35. <strong>{{ "Course" | get_lang }}:</strong> {{ pdf_course_info.title }} ({{ pdf_course_info.code }})
  36. {% if pdf_course_category %}
  37. <strong>{{ "Category" | get_lang }}:</strong> {{ pdf_course_category }}
  38. {% endif %}
  39. </td>
  40. </tr>
  41. {% endif %}
  42. <tr>
  43. <td>
  44. <strong>{{ "Date" | get_lang }}:</strong> {{ pdf_date }}
  45. </td>
  46. </tr>
  47. </table>
  48. <br />
  49. {{ pdf_content }}
  50. {% if add_signatures == true %}
  51. <br />
  52. <br />
  53. <table style="text-align:center" width="100%">
  54. <tr>
  55. <td>
  56. _____________________________
  57. <br />
  58. {{ "Drh" | get_lang }}
  59. </td>
  60. <td>
  61. _____________________________
  62. <br />
  63. {{ "Teacher" | get_lang }}
  64. </td>
  65. <td>
  66. _____________________________
  67. <br />
  68. {{ "Date" | get_lang }}
  69. </td>
  70. </tr>
  71. </table>
  72. {% endif %}