datatracker/ietf/templates/nomcom/send_reminder_mail.html

59 lines
1.8 KiB
HTML

{% extends "nomcom/nomcom_private_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% load ietf_filters %}
{% block subtitle %} - Send reminder messages {% endblock %}
{% block nomcom_content %}
{% origin %}
<h2>Send remider to {{reminder_description}}</h2>
{% if nomcom.group.state_id == 'active' %}
<p>The message that will be sent is as follows:</p>
<pre>{{ mail_template.content|wordwrap:80 }}</pre>
{% if mail_template %}
<p>
<a class="btn btn-default" href="{% url 'ietf.nomcom.views.edit_template' year mail_template.id %}">Edit the message</a>
</p>
{% endif %}
<p>These are the nominees that are in the '{{state_description}}' state for the listed positions. </p>
<p>The message that will be sent is shown below the list of nominees. </p>
{% endif %}
{% if nomcom.group.state_id == 'active' %}
<form id="reminderform " method="post">
{% csrf_token %}
<table class="table table-condensed table-striped">
<thead>
<tr>
<th><span class="fa fa-check"></span></th>
<th>Nominee</th>
<th>Positions</th>
</tr>
</thead>
<tbody>
{% for nominee in nominees %}
<tr>
<td>
<input class="batch-select" type="checkbox" value="{{ nominee.id }}" name="selected" checked="checked">
</td>
<td>{{ nominee }}</td>
<td>{{nominee.interesting_positions|join:", "}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% buttons %}
<input class="btn btn-primary" type="submit" name="submit" value="Submit request">
{% endbuttons %}
</form>
{% endif %}
{% endblock %}