{# Copyright The IETF Trust 2015-2022, All Rights Reserved #} {% load origin %} {% origin %} {% load ietf_filters %} {% load textfilters %}
{% for n, positions in position_groups %}

{{ n.name }}

{% for p in positions %}
{% if p.is_old_pos %}({% endif %}{% if p.comment or p.discuss %}{% endif %}{{ p.balloter.plain_name }}{% if p.comment or p.discuss %}{% endif %}{% if p.is_old_pos %}){% endif %}
{% empty %} (None) {% endfor %}
{% endfor %}
{% if all_ballots and all_ballots|length > 1 %} {% endif %} {% if doc.type_id == "draft" or doc.type_id == "conflrev" or doc.type_id == "statchg" %} {% if deferred %}

Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.

{% endif %} {% endif %} {% if not ballot_open or iesg_state == "ann" or iesg_state == "approved" %}

Note: This ballot was opened for revision {{ ballot.rev }} and is now closed.

{% else %}

Summary: {{ summary }}

{% endif %} {% if ballot.ballot_type.question %}

Ballot question: "{{ ballot.ballot_type.question }}"

{% endif %} {% if editable and user|has_role:"Area Director,Secretariat,IRSG Member,RSAB Member" %} Search Mailarchive {% if user|can_ballot:doc %} Edit position {% endif %} {% if user|can_defer:doc %} {% if deferred %} Undefer ballot {% else %} {% if doc.telechat_date %} Defer ballot {% endif %} {% endif %} {% endif %} {% if user|can_clear_ballot:doc %} Clear ballot {% endif %} {% endif %} {% for n, positions in position_groups %} {% for p in positions %} {% if not p.is_old_pos %}
{{ p.balloter.plain_name }}
{% if p.old_positions %}(was {{ p.old_positions|join:", " }}){% endif %} {{ p.pos }} {% if user|has_role:"Secretariat" %} Edit {% endif %}
{% if p.pos.blocking and p.discuss %}
{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision and p.get_dochistory.rev %}{% if p.discuss_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %}) {# TODO: This logic is in place for discusses/ballots/comments, consider centralizing somewhere #} {% if p.send_email %} Sent {% elif p.any_email_sent == True %} Sent for earlier {% elif p.any_email_sent == False %} Not sent {% else %} Unknown {% endif %}
{{ p.discuss|escape|urlize_ietf_docs|linkify }}
{% endif %} {% if p.comment %}
Comment ({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision and p.get_dochistory.rev %}{% if p.comment_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %}) {% if p.send_email %} Sent {% elif p.any_email_sent == True %} Sent for earlier {% elif p.any_email_sent == False %} Not sent {% else %} Unknown {% endif %}
{{ p.comment|escape|urlize_ietf_docs|linkify }}
{% endif %} {% endif %} {% endfor %} {% endfor %} {% for n, positions in position_groups %} {% for p in positions %} {% if p.is_old_pos %}
{{ p.balloter.plain_name }} Former IESG member
{% if p.old_positions %}(was {{ p.old_positions|join:", " }}){% endif %} {{ p.pos }} {% if user|has_role:"Secretariat" %} Edit {% endif %}
{{ p.pos.name }} {% if p.pos.blocking and p.discuss %} [Treat as non-blocking comment] ({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision and p.get_dochistory.rev %}{% if p.discuss_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %}) {% else %} ({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision and p.get_dochistory.rev %}{% if p.comment_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %}) {% endif %} {% if p.send_email %} Sent {% elif p.any_email_sent == True %} Sent for earlier {% elif p.any_email_sent == False %} Not sent {% else %} Unknown {% endif %}
{% if p.pos.blocking and p.discuss %}
{{ p.discuss|escape|urlize_ietf_docs|linkify }}
{% else %}
{{ p.comment|escape|urlize_ietf_docs|linkify }}
{% endif %}
{% endif %} {% endfor %} {% endfor %}