{% if relevant_managers %}
{% endif %}
{% endfor %}
{% endif %}
{{ request_type.capitalize }} requests are made to:
{% for pos in relevant_managers %}
{% if forloop.counter > 1 %}, {% endif %}
{{ pos.title }}
{% if pos.incumbent %}
( {{ pos.incumbent|display_user:user }})
{% else %}
(No incumbent)
{% endif %}
{% endfor %}
{% else %}
No active managers are currently responsible for addressing {{ request_type.lower }} requests.
{% endif %}
{% if not requests_dict %}
No {{ request_type.lower }} requests found.
{% else %}
{% for request_tuple in requests_dict %}
{% if forloop.counter > 1 %}
{% endif %}
{% if not request_tuple.0.owner.user = user and user.username != ANONYMOUS_USERNAME %}
{% endif %}
{% with vote_count_request=request_tuple.0 %}
{% include "vote_list.html" %}
{% endwith %}
{{ request_tuple.0.body|safe }}
{% for response in request_tuple.1 %}
{% if forloop.counter > 1 %}
{% endif %}
{% endfor %}
{% endif %}
{{ response.owner|display_user:user }} ({{ response.post_date }}):
{{ response.body|safe }}
{% with y=forloop.counter|stringformat:"s" %}
{% with response_form_id="response_form_"|add:y %}
{% with button_id="button_"|add:y %}
{% endwith %}
{% endwith %}
{% endwith %}