{% extends 'mail/base.html' %}
{% load mail %}

{% block title %}
<div class="bold gap-xl">
    {% ya initiator %}
    <span> изменил{% if initiator.gender == 'female' %}а{% endif %} статус претендента ({{application.status_display}})</span>
</div>
{% endblock %}

{% block buttons %}
{% if application.status == 'in_progress' and application.proposal_status == 'undefined' %}
<div>
    <div class="gap-xl action-wrap">
        <span class="v-gap-md">
        <a class="link color-black action action_type_yellow" href="{{ femida_url }}applications/{{ application.id }}?action=accept_proposal">
            Присоединиться к интервью
        </a>
    </span>
    </div>
    <div class="gap-xl action-wrap">
        <span class="v-gap-md">
        <a class="link color-black action action_type_white" href="{{ femida_url }}applications/{{ application.id }}?action=reject_proposal">
            Отказаться
        </a>
    </span>
    </div>
</div>
{% endif %}
{% endblock %}

{% block interviews %}
{% if interviews %}
<div class="divider gap-lg"></div>
<div class="bold gap-md">Предварительные результаты секций</div>
{% for i in interviews %}
    {% include "mail/partials/interview.html" with interview=i %}
{% endfor %}
{% endif %}
{% endblock %}
