{% extends "notifications/base_mail.html" %}

{% block subject %}Уволен сотрудник ({{ dismissal.staff }}, {{ dismissal.staff.login }}){% endblock %}

{% block body %}{% if chief %}
Руководитель сотрудника: {{ chief.first_name }} {{ chief.last_name }} ({{ chief.login }}){% endif %}
{% for name, value in dismissal.iter_search_fields %}{% if value %}{{ name }}: {{ value }}
{% endif %}{% endfor %}
{% endblock %}
