Minor: Clean template

pull/4266/head
Angel Fernando Quiroz Campos 3 years ago
parent 3a7a0d7422
commit b5ae032cd1
  1. 20
      main/template/default/export/table_pdf.tpl

@ -1,5 +1,5 @@
{% if pdf_title %}
<h2 align="center"> {{ pdf_title }} </h2>
<h2>{{ pdf_title }}</h2>
{% endif %}
{% if pdf_description %}
@ -11,7 +11,7 @@
{% if pdf_student_info %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px; ">
<strong>{{ "Student" | get_lang }}:</strong>blob:https://web.whatsapp.com/d7b63bbf-cfa5-4c3f-a277-23eb52dfde4f
<strong>{{ "Student"|get_lang }}</strong>
</td>
<td>
{{ pdf_student_info.complete_name }}
@ -21,7 +21,7 @@
{% if pdf_teachers %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ "Teacher" | get_lang }}:</strong>
<strong>{{ "Teacher"|get_lang }}</strong>
</td>
<td>
{{ pdf_teachers }}
@ -32,12 +32,12 @@
{% if pdf_session_info %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;" {{ pdf_session_info.description ? '' : 'colspan="2"' }}>
<strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.name }}
<strong>{{ "Session"|get_lang }}</strong> {{ pdf_session_info.name }}
</td>
{% if pdf_session_info.description %}
<td>
<strong>{{ "Description" | get_lang }}:</strong> {{ pdf_session_info.description }}
<strong>{{ "Description"|get_lang }}</strong> {{ pdf_session_info.description }}
</td>
{% endif %}
</tr>
@ -45,7 +45,7 @@
{% if pdf_session_info.access_start_date != '' and pdf_session_info.access_end_date is not empty and pdf_session_info.access_end_date != '0000-00-00' %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ "PeriodToDisplay" | get_lang }}:</strong>
<strong>{{ "PeriodToDisplay"|get_lang }}</strong>
</td>
<td>
{{ "FromDateXToDateY"| get_lang|format(pdf_session_info.access_start_date_to_local_time, pdf_session_info.access_end_date_to_local_time ) }}
@ -57,7 +57,7 @@
{% if pdf_course_info %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ "Course" | get_lang }}:</strong>
<strong>{{ "Course"|get_lang }}</strong>
</td>
<td>
{{ pdf_course_info.title }} ({{ pdf_course_info.code }})
@ -65,7 +65,7 @@
</tr>
{% if pdf_course_category %}
<tr>
<td> <strong>{{ "Category" | get_lang }}:</strong></td>
<td><strong>{{ "Category"|get_lang }}</strong></td>
<td> {{ pdf_course_category }} </td>
</tr>
{% endif %}
@ -74,7 +74,7 @@
{% if pdf_date %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ "Date" | get_lang }}:</strong>
<strong>{{ "Date"|get_lang }}</strong>
</td>
<td>
{{ pdf_date }}
@ -86,7 +86,7 @@
{% for row in extra_rows %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ row.label }}:</strong>
<strong>{{ row.label }}</strong>
</td>
<td>
{{ row.content }}

Loading…
Cancel
Save