{% extends "email/base.html" %}
{% load inflections %}

{% block body %}
    <p>Добрый день!</p>
    <p>
        <a href="{{ staff_url }}{{ initiator.username }}">
            {{ initiator.full_name }}</a>
        переназначил{% if initiator.gender == 'female' %}а{% endif %}
        <a href="{{ femida_url }}interviews/{{ instance.id }}">
            собеседование с {{ instance.candidate.get_full_name | inflect_fio:5 }}</a>
        по теме "{{ instance.section }}" на
        {% if receiver != instance.interviewer %}
        <a href="{{ staff_url }}{{ instance.interviewer.username }}">
            {{ instance.interviewer.get_full_name | inflect_fio:4 }}</a>
        {% else %}вас{% endif %}.
    </p>
    {% if reason %}
        <p>
            Причина: <br/>
            {{ reason|linebreaksbr }}
        </p>
    {% endif %}
{% endblock %}
