table_pdf.tpl.error 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. {% if pdf_student_info %}
  9. <tr>
  10. <td>
  11. <strong>{{ "Student" | get_lang }}:</strong> {{ pdf_student_info.complete_name }}
  12. </td>
  13. </tr>
  14. {% endif %}
  15. <tr>
  16. <td>
  17. <strong>{{ "Teacher" | get_lang }}:</strong> {{ pdf_teachers }}
  18. </td>
  19. </tr>
  20. {% if pdf_session_info %}
  21. <tr>
  22. <td>
  23. <strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.name }}
  24. </td>
  25. {% if pdf_session_info.description %}
  26. <td>
  27. <strong>{{ "Description" | get_lang }}:</strong> {{ pdf_session_info.description }}
  28. </td>
  29. {% endif %}
  30. </tr>
  31. {% if pdf_session_info.access_start_date != '' and pdf_session_info.access_end_date != '0000-00-00' %}
  32. <tr>
  33. <td>
  34. <strong>{{ "PeriodToDisplay" | get_lang }}:</strong> {{ "FromDateXToDateY"| get_lang | format(pdf_session_info.access_start_date, pdf_session_info.access_end_date ) }}
  35. </td>
  36. </tr>
  37. {% endif %}
  38. {% endif %}
  39. {% if pdf_course_info %}
  40. <tr>
  41. <td>
  42. <strong>{{ "Course" | get_lang }}:</strong> {{ pdf_course_info.title }} ({{ pdf_course_info.code }})
  43. {% if pdf_course_category %}
  44. <strong>{{ "Category" | get_lang }}:</strong> {{ pdf_course_category }}
  45. {% endif %}
  46. </td>
  47. </tr>
  48. {% endif %}
  49. <tr>
  50. <td>
  51. <strong>{{ "Date" | get_lang }}:</strong> {{ pdf_date }}
  52. </td>
  53. </tr>
  54. </table>
  55. {% if show_grade_generated_date == true %}
  56. <h5 align="right">
  57. {{ 'GradeGeneratedOnX' | get_lang | format(date('d/m/Y')) }}
  58. </h5>
  59. {% endif %}
  60. <br />
  61. {{ pdf_content }}
  62. {% if add_signatures == true %}
  63. <br />
  64. <br />
  65. <table style="text-align:center" width="100%">
  66. <tr>
  67. <td>
  68. _____________________________
  69. <br />
  70. {{ "Drh" | get_lang }}
  71. </td>
  72. <td>
  73. _____________________________
  74. <br />
  75. {{ "Teacher" | get_lang }}
  76. </td>
  77. <td>
  78. _____________________________
  79. <br />
  80. {{ "Date" | get_lang }}
  81. </td>
  82. </tr>
  83. </table>
  84. {% endif %}