This commit is contained in:
Ludovic Stephan 2016-09-27 16:57:39 +02:00
parent 77511d8acd
commit 103b2880f7
4 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
{% load bootstrap %} {% load bootstrap %}
{% block realcontent %} {% block realcontent %}
<h2>Inscriptions pour BDA-Revente</h2> <h2>Inscriptions pour BdA-Revente</h2>
{% if deja_revente %} {% if deja_revente %}
<p class="success">Des reventes existent déjà pour certains de ces spectacles ; vérifie les places disponibles sans tirage !</p> <p class="success">Des reventes existent déjà pour certains de ces spectacles ; vérifie les places disponibles sans tirage !</p>
{% endif %} {% endif %}

View file

@ -152,7 +152,7 @@ PETITS_COURS_REPLYTO = "cof@ens.fr"
RAPPEL_FROM = 'Le BdA <bda@ens.fr>' RAPPEL_FROM = 'Le BdA <bda@ens.fr>'
RAPPEL_REPLY_TO = RAPPEL_FROM RAPPEL_REPLY_TO = RAPPEL_FROM
REVENTE_FROM = 'BDA-Revente <bda-revente@ens.fr>' REVENTE_FROM = 'BdA-Revente <bda-revente@ens.fr>'
REVENTE_REPLY_TO = REVENTE_FROM REVENTE_REPLY_TO = REVENTE_FROM
LOGIN_URL = "/gestion/login" LOGIN_URL = "/gestion/login"

View file

@ -144,9 +144,9 @@ User.profile_phone = ProfileInfo("phone", "Téléphone")
User.profile_occupation = ProfileInfo("occupation", "Occupation") User.profile_occupation = ProfileInfo("occupation", "Occupation")
User.profile_departement = ProfileInfo("departement", "Departement") User.profile_departement = ProfileInfo("departement", "Departement")
User.profile_mailing_cof = ProfileInfo("mailing_cof", "ML COF", True) User.profile_mailing_cof = ProfileInfo("mailing_cof", "ML COF", True)
User.profile_mailing_bda = ProfileInfo("mailing_bda", "ML BDA", True) User.profile_mailing_bda = ProfileInfo("mailing_bda", "ML BdA", True)
User.profile_mailing_bda_revente = ProfileInfo("mailing_bda_revente", User.profile_mailing_bda_revente = ProfileInfo("mailing_bda_revente",
"ML BDA-R", True) "ML BdA-R", True)
class UserProfileAdmin(UserAdmin): class UserProfileAdmin(UserAdmin):

View file

@ -43,7 +43,7 @@
{% else %} {% else %}
<li><a href="{% url "bda-places-attribuees" tirage.id %}">Mes places</a></li> <li><a href="{% url "bda-places-attribuees" tirage.id %}">Mes places</a></li>
<li><a href="{% url "bda-revente" tirage.id %}">Revendre une place</a></li> <li><a href="{% url "bda-revente" tirage.id %}">Revendre une place</a></li>
<li><a href="{% url "bda-liste-revente" tirage.id %}">S'inscrire à BDA-Revente</a></li> <li><a href="{% url "bda-liste-revente" tirage.id %}">S'inscrire à BdA-Revente</a></li>
{% endif %} {% endif %}
</ul> </ul>
{% endfor %} {% endfor %}
@ -83,7 +83,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
<h3 class="block-title">Gestion tirages BDA<span class="pull-right glyphicon glyphicon-list"></span></h3> <h3 class="block-title">Gestion tirages BdA<span class="pull-right glyphicon glyphicon-list"></span></h3>
<div class="hm-block"> <div class="hm-block">
{% if active_tirages %} {% if active_tirages %}
{% for tirage in active_tirages %} {% for tirage in active_tirages %}