{% comment %}{% endcomment %} {% load ietf_filters %}
{% if doc_ballot_edit_button and user|in_group:"Area_Director,Secretariat" %} {% if user|in_group:"Area_Director" %}
Edit position
{% endif %} {% if ballot.was_deferred %}
Undefer ballot
Ballot deferred by {{ ballot.deferred_by }} on {{ ballot.deferred_date }}.
{% else %}
Defer ballot
{% endif %} {% endif %} {% if doc_ballot_edit_button and user|in_group:"Secretariat" %}
Clear ballot
{% endif %}

Discuss
{% with ballot.get_discuss as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

Yes
{% with ballot.get_yes as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

No Objection
{% with ballot.get_no_objection as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

Abstain
{% with ballot.get_abstain as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

Recuse
{% with ballot.get_recuse as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

No Record
{% with ballot.get_no_record as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}

Discusses and other comments

{% if ballot.is_ballot_set %}

Other documents in this ballot set: {% for x in ballot.ballot_set_other%}{{x|urlize_ietf_docs}}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} {% if doc.in_ietf_process and doc.ietf_process.has_active_iesg_ballot %}

Summary: {{ doc.ietf_process.iesg_ballot_needed }}

{% endif %} {% for pos in ballot.get_texts|dictsort:"is_old_ad" %}

{% if pos.is_old_ad %}[{%endif%}{{pos.ad_name|escape}}{% if pos.is_old_ad %}]{%endif%}

{% ifequal pos.position "Discuss" %}

Discuss ({{pos.discuss_date}})

{{pos.discuss_text|wrap_text:80|escape }}
{% endifequal %} {% if pos.comment_text %}

Comment ({{pos.comment_date}})

{{pos.comment_text|wrap_text:80|escape }}
{% endif %} {% endfor %}