pdf_single_thematic.tpl 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <table 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;">{{ 'Thematic'|get_lang }}</th>
  5. <th width="50%" style="display:inline-block; padding: 10px; text-align: center; background-color: #E5E5E5;">{{ 'ThematicPlan'|get_lang }}</th>
  6. <th width="20%" style="display:inline-block; padding: 10px; text-align: center; background-color: #E5E5E5;">{{ 'ThematicAdvance'|get_lang }}</th>
  7. </tr>
  8. </thead>
  9. <tbody>
  10. <tr>
  11. <td>
  12. <h4>{{ theme.title }}</h4>
  13. <br>
  14. {{ theme.content }}
  15. </td>
  16. <td>
  17. {% for plan in plans %}
  18. <br>
  19. <h4>{{ plan.title }}</h4>
  20. <br>
  21. {{ plan.description }}
  22. {% endfor %}
  23. </td>
  24. <td>
  25. {% for advance in advances %}
  26. <h4 style="margin-bottom: 10px;">
  27. {{ advance.duration }} {{ "MinHours" | get_lang }}
  28. </h4>
  29. <p>{{ advance.start_date|api_convert_and_format_date(2) }}</p>
  30. {{ advance.content }}
  31. <br>
  32. {% endfor %}
  33. </td>
  34. </tr>
  35. </tbody>
  36. </table>