{% extends "base.html" %} {% load review_tags %} {% block body %}
{% if unflagged and flagged %} {% include 'includes/icon.html' with icon='flag_info' %} {% elif unflagged|length > 1 or flagged|length > 1 %} {% include 'includes/icon.html' with icon='flag_info' %} {% elif unflagged and not flagged %} {% include 'includes/icon.html' with icon='unflag' %} {% else %} {% include 'includes/icon.html' with icon='flag' %} {% endif %} | {% staff_person change.change_author %} {% if unflagged %} {% with count=unflagged|length %} remove the flag on {{ count }} employee{{ count|pluralize:",s" }} {% endwith %} {% endif %} {% if unflagged and flagged %} and {% endif %} {% if flagged %} {% with count=flagged|length %} put the flag on {{ count }} employee{{ count|pluralize:",s" }} {% endwith %} {% endif %} | |
{% if unflagged %}
{% if unflagged and flagged %}
{% include 'includes/block.html' with icon='unflag' text='The flags are removed' %}
{% endif %}
{% include 'includes/persons.html' with list=unflagged %}
{% endif %}
{% if flagged %}
{% if unflagged %} {% endif %} {% if unflagged and flagged %} {% include 'includes/block.html' with icon='flag' text='The flags are put' %} {% endif %} {% include 'includes/persons.html' with list=flagged %} {% endif %} |