{{ organization }}

<h2 align="center"> {{ pdf_title }} </h2>

{% if pdf_description %}
    {{ pdf_description }}
    <br /><br />
{% endif %}

<table align="center" width="100%">
    {% if pdf_student_info %}
    <tr>
        <td>
            <strong>{{ "Student" | get_lang }}:</strong>  {{ pdf_student_info.complete_name }}
        </td>
    </tr>
    {% endif %}


    {% if pdf_teachers %}
        <tr>
            <td>
                <strong>{{ "Teacher" | get_lang }}:</strong> {{ pdf_teachers }}
            </td>
        </tr>
    {% endif %}

    {% if pdf_session_info %}
        <tr>
            <td>
                <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 }}
            </td>
            {% endif %}
        </tr>

        {% if pdf_session_info.access_start_date != '' and pdf_session_info.access_end_date != '0000-00-00' %}
        <tr>
            <td>
                <strong>{{ "PeriodToDisplay" | get_lang }}:</strong> {{ "FromDateXToDateY"| get_lang | format(pdf_session_info.access_start_date, pdf_session_info.access_end_date ) }}
            </td>
        </tr>
        {% endif %}
    {% endif %}

    {% if pdf_course_info %}
    <tr>
        <td>
            <strong>{{ "Course" | get_lang }}:</strong> {{ pdf_course_info.title }} ({{ pdf_course_info.code }})

            {% if pdf_course_category %}
            <strong>{{ "Category" | get_lang }}:</strong> {{ pdf_course_category }}
            {% endif %}

        </td>
    </tr>
    {% endif %}

    {% if pdf_date %}
    <tr>
        <td>
            <strong>{{ "Date" | get_lang }}:</strong> {{ pdf_date }}
        </td>
    </tr>
    {% endif %}

</table>


{% if show_grade_generated_date == true %}
<h5 align="right">
    {{ 'GradeGeneratedOnX' | get_lang | format("now"| date("d/m/Y")) }}
</h5>
{% endif %}

<br />

{{ pdf_content }}

{% if add_signatures == true %}
    <br />
    <br />

    <table style="text-align:center" width="100%">
        <tr>
            <td>
                _____________________________
                <br />
                {{ "Drh" | get_lang }}
            </td>
            <td>
                _____________________________
                <br />
                {{ "Teacher" | get_lang }}
            </td>
            <td>
                _____________________________
                <br />
                {{ "Date" | get_lang }}
            </td>
        </tr>
    </table>
{% endif %}