forked from DGNum/gestioCOF
42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
{% extends "base_title.html" %}
|
|
|
|
{% block realcontent %}
|
|
<h2>Mails de rappels</h2>
|
|
{% if sent %}
|
|
<h3>Les mails de rappel pour le spectacle {{ show.title }} ont bien été envoyés aux personnes suivantes</h3>
|
|
<ul>
|
|
{% for member in members %}
|
|
<li>{{ member.get_full_name }} ({{ member.email }})</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<h3>Voulez vous envoyer les mails de rappel pour le spectacle {{ show.title }} ?</h3>
|
|
{% endif %}
|
|
|
|
<div class="empty-form">
|
|
{% if not sent %}
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
<div class="pull-right">
|
|
<input class="btn btn-primary" type="submit" value="Envoyer" />
|
|
</div>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<hr \>
|
|
|
|
<h3>Forme des mails</h3>
|
|
|
|
<h4>Une seule place</h4>
|
|
{% for part in exemple_mail_1place %}
|
|
<pre>{{ part }}</pre>
|
|
{% endfor %}
|
|
|
|
<h4>Deux places</h4>
|
|
{% for part in exemple_mail_2places %}
|
|
<pre>{{ part }}</pre>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|