58 lines
2.6 KiB
HTML
58 lines
2.6 KiB
HTML
{% comment %}
|
|
Copyright The IETF Trust 2011, All Rights Reserved
|
|
{% endcomment %}
|
|
{% load ietf_filters %}
|
|
<table class="ietf-ballot"><tr valign="top"><td class="left">
|
|
|
|
{% if user|in_group:"Area_Director,Secretariat" %}
|
|
{% if user|in_group:"Area_Director" %}
|
|
<div style="margin-top:8px; margin-bottom:8px;"><span id="wg_ballot_button" class="yui-button yui-link-button"><span class="first-child"><a href="{% url wg_edit_position name=wg.acronym %}">Edit position</a></span></span></div>
|
|
{% endif %}
|
|
{% if user|in_group:"Secretariat" %}
|
|
{% if not info.pos_block %}<div style="margin-top:8px; margin-bottom:8px;"><span id="wg_ballot_button" class="yui-button yui-link-button"><span class="first-child"><a href="{% url wg_approve_ballot name=wg.acronym %}">Approve ballot</a></span></span></div>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<p style="margin-top:1em;"><span class="square" style="background:#c00000;"></span><b>Blocking</b><br/>
|
|
{% with info.pos_block as positions %}{% include "wgcharter/wg_ballot_list.html" %}{% endwith %}</p>
|
|
|
|
<p><span class="square" style="background:#80ff80;"></span><b>Yes</b><br/>
|
|
{% with info.pos_yes as positions %}{% include "wgcharter/wg_ballot_list.html" %}{% endwith %}</p>
|
|
|
|
<p><span class="square" style="background:#80ff80;"></span><b>No</b><br/>
|
|
{% with info.pos_no as positions %}{% include "wgcharter/wg_ballot_list.html" %}{% endwith %}</p>
|
|
|
|
<p><span class="square" style="background:#ffff00;"></span><b>Abstain</b><br/>
|
|
{% with info.pos_abstain as positions %}{% include "wgcharter/wg_ballot_list.html" %}{% endwith %}</p>
|
|
|
|
<p><span class="square" style="background:white;"></span><b>No Record</b><br/>
|
|
{% for p in info.pos_no_record %}
|
|
<a{% if user|in_group:"Secretariat" %} href="{% url wg_edit_position name=wg.acronym %}?ad={{ p.id }}" title="Click to edit the position of {{ p.name }}"{% endif %}>{{p.name}}{% if user|in_group:"Secretariat" %}</a>{% endif %}<br/>
|
|
{% empty %}
|
|
<i>none</i>
|
|
{% endfor %}
|
|
</p>
|
|
|
|
</td>
|
|
<td class="right">
|
|
|
|
<h2 style="margin-top:12px;">Comments</h2>
|
|
|
|
{% for pos in info.positions %}
|
|
{% if pos.comment or pos.block_comment %}
|
|
<h2 class="ballot_ad"><a name="{{pos.ad|slugify}}">{{pos.ad|escape}}</a></h2>
|
|
|
|
{% if pos.block_comment %}
|
|
<p><b>Blocking ({{pos.block_comment_time}})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
|
|
<pre>{{pos.block_comment|fill:"80"|escape }}</pre>
|
|
{% endif %}
|
|
|
|
{% if pos.comment %}
|
|
<p><b>Comment ({{pos.comment_time}})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
|
|
<pre>{{pos.comment|fill:"80"|escape }}</pre>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</td></tr></table>
|