{% extends "base.html" %} {% load i18n %} {% load lingua %} {% load quizz_templatetags %} {% block content %}

{{ feedback_instance.reporter.get_full_name|username }} {% blocktrans with reporter_type=feedback_instance.get_reporter_type_display context feedback_instance.reporter.get_gender_display %}wrote feedback as {{ reporter_type }} about{% endblocktrans %}

{% for person in persons %}

{% spaceless %} {% if mail_template_language == 'ru'%} {{ person|inflate_name_acc|username }} {% else %} {{ person|username }} {% endif %} {% if not forloop.last %}, {% endif %} {% endspaceless %}

{% endfor %} {% if feedback_instance.positive_message %}

{% trans "new.positive_and_neutral" %}

{{ feedback_instance.positive_message|linebreaksbr }}

{% endif %} {% if feedback_instance.negative_message %}

{% trans "new.negative" %}

{{ feedback_instance.negative_message|linebreaksbr }}

{% endif %}

{% trans "new.mood" %}

{{ feedback_instance.get_mood_display }}

{% for person, quizz_answers in quizz_answers.items %} {% for quizz_answer in quizz_answers %} {% if forloop.first %} {% endif %} {% endfor %} {% endfor %}

{% if mail_template_language == 'ru'%} {{ person|inflate_name_acc|username }} {% else %} {{ person|username }} {% endif %}

{% if quizz_answer.0.quizz_answer.question.question_type == 0 %} {% else %} {% endif %}
{% if not quizz_answer.0.quizz_answer.is_open %}{{ quizz_answer.0.quizz_answer.text }}{% else %}-{% endif %}

{{ quizz_answer.0.quizz_answer.question.text }} {% write_question_type quizz_answer.0.quizz_answer.question.question_type %}
{% if quizz_answer.0.quizz_answer.question.question_type == 0 %} {{ quizz_answer.0.quizz_answer.question.description }} {% if quizz_answer.1 and quizz_answer.1.quizz_answer.is_open %}
{% trans "quizz.mail.reason" %}. {{ quizz_answer.1.text }} {% endif %} {% if quizz_answer.0.quizz_answer.is_open %}
{% trans "quizz.mail.reason" %}. {{ quizz_answer.0.text }} {% endif %} {% elif quizz_answer.0.quizz_answer.question.question_type == 5 %} {% for answer in quizz_answer %} {% if not answer.quizz_answer.is_open %} — {{ answer.quizz_answer.text }} {% else %} {% trans "quizz.mail.own_answer" %}. {{ answer.text }} {% endif %}
{% endfor %} {% else %} {{ quizz_answer.0.text }} {% if quizz_answer.1.quizz_answer.is_open %}
{% trans "quizz.mail.own_answer" %}. {{ quizz_answer.1.text }} {% endif %} {% endif %}

{% trans "new.write_feedback_about_employee" %}

{% include "_common_links.html" %}

{% trans "new.info" %}

{% endblock %}