pdf_general_thematic.tpl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <table style="margin-top: 30px;" class="full-width border-thin">
  2. <thead>
  3. <tr>
  4. <th width="30%" style="display:inline-block; padding: 10px; text-align: center; background-color: #E5E5E5;">
  5. {{ "Thematic"|get_lang }}
  6. </th>
  7. <th width="50%" style="display:inline-block; padding: 10px; text-align: center; background-color: #E5E5E5;">
  8. {{ "ThematicPlan"|get_lang }}
  9. </th>
  10. <th width="20%" style="display:inline-block; padding: 10px; text-align: center; background-color: #E5E5E5;">
  11. {{ "ThematicAdvance"|get_lang }}
  12. </th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. {% for item in data %}
  17. <tr>
  18. <td>
  19. <h4 style="margin-bottom: 10px;">{{ item.title }}</h4>
  20. <br>
  21. {{ item.content }}
  22. </td>
  23. <td>
  24. {% for plan in item.thematic_plan %}
  25. <br>
  26. <h4 style="margin-bottom: 10px;">{{ plan.title }}</h4>
  27. <br>
  28. {{ plan.description }}
  29. {% endfor %}
  30. </td>
  31. <td>
  32. {% for advance in item.thematic_advance %}
  33. <br>
  34. <h4 style="margin-bottom: 10px;">
  35. {{ advance.duration }} {{ "MinHours" | get_lang }}
  36. </h4>
  37. {{ advance.start_date | api_convert_and_format_date(2) }}
  38. <br>
  39. {{ advance.content }}
  40. {% endfor %}
  41. </td>
  42. </tr>
  43. {% endfor %}
  44. </tbody>
  45. </table>