datatracker/ietf/templates/nomcom/feedback.html

77 lines
2.5 KiB
HTML

{% extends base_template %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% load nomcom_tags %}
{% block subtitle %} - Feedback{% endblock %}
{% block nomcom_content %}
{% origin %}
<p id="instructions" class="alert alert-info">
{% if nomcom.group.state_id == 'conclude' %}
Feedback to this nomcom is closed.
{% else %}
Select a nominee from the list of nominees to the right to obtain a new feedback form.
{% endif %}
</p>
{% if message %}
<p class="alert alert-{{ message.0 }}">{{ message.1 }}</p>
{% endif %}
{% bootstrap_messages %}
{% if nomcom|has_publickey %}
<div class="row">
<div id="nominees" class="col-sm-4 col-sm-push-8">
<h3>Nominees</h3>
{% for p in positions %}
{% if p.nomineeposition_set.accepted.not_duplicated %}
<h4>{{ p.name }}</h4>
<div class="btn-group-vertical form-group">
{% for np in p.nomineeposition_set.accepted.not_duplicated %}
<a class="btn btn-default btn-xs" {% if nomcom.group.state_id != 'conclude' %}href="?nominee={{np.nominee.id}}&position={{ np.position.id}}"{% endif %}>
{{ np.nominee }}
{% add_num_nominations user np.position np.nominee %}
</a>
{% endfor %}
</div>
{% endif %}
{% endfor %}
<p>
An number after a name indicates
that you have given comments on this nominee
earlier. If you position the mouse pointer over
it, you should see how many comments
exist from you for this nominee.
</p>
</div>
<div class="col-sm-8 col-sm-pull-4">
{% if form %}
<h3>Provide feedback
{% if form.position %}
about {{form.nominee.email.person.name}} ({{form.nominee.email.address}}) for the {{form.position.name}} position.</p>
{% endif %}
</h3>
<p>This feedback will only be available to <a href="{% url 'nomcom_year_index' year=year %}">NomCom {{year}}</a>.
You may have the feedback mailed back to you by selecting the option below.</p>
<form id="feedbackform" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<input class="btn btn-primary" type="submit" value="Save" name="save">
{% endbuttons %}
</form>
{% endif %}
</div>
</div>
{% endif %}
{% endblock %}