<p>{{ 'DearXComma'|get_lang|format(hrm_name) }}</p>
<p>{{ 'AsHRMYouReceiveThisMailToAlertThatXHasNewWorkInCourseY'|get_lang | format(student.complete_name, course.name) }}</p>
<dl>
    <dt>{{ 'Student'|get_lang }}</dt>
    <dd>{{ student.complete_name }}</dd>
    <dt>{{ 'Course'|get_lang }}</dt>
    <dd>{{ course.name }} - {{ course.code }}</dd>
    <dt>{{ 'AssignmentName'|get_lang }}</dt>
    <dd>{{ work.title }}</dd>
    <dd>{{ work.description }}</dd>

    {% if work.qualification %}
        <dt>{{ 'QualificationNumeric'|get_lang }}</dt>
        <dd>{{ work.qualification }}</dd>
    {% endif %}
    {% if work.expires_on %}
        <dt>{{ 'ExpiresAt'|get_lang }}</dt>
        <dd>{{ work.expires_on|api_convert_and_format_date(6) }}</dd>
    {% endif %}
    {% if work.ends_on %}
        <dt>{{ 'EndsAt'|get_lang }}</dt>
        <dd>{{ work.ends_on|api_convert_and_format_date(6) }}</dd>
    {% endif %}
</dl>
