2012-06-27 23:28:35 +02:00
|
|
|
{% extends "base_title.html" %}
|
|
|
|
|
2013-09-05 22:20:52 +02:00
|
|
|
{% block homelink %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2012-06-27 23:28:35 +02:00
|
|
|
{% block realcontent %}
|
2013-10-01 15:27:19 +02:00
|
|
|
<h2>Bienvenue, {% if user.first_name %}{{ user.first_name }}{% else %}<tt>{{ user.username }}</tt>{% endif %} <span style="float: right;"><tt>{% if user.profile.is_cof %}Membre du COF{% else %}Non-membre du COF{% endif %}</tt></span></h2>
|
2015-09-13 18:23:47 +02:00
|
|
|
<!-- {% if open_events %}
|
2012-06-27 23:28:35 +02:00
|
|
|
<h3>Événements</h3>
|
|
|
|
<ul>
|
2013-09-05 22:20:52 +02:00
|
|
|
{% for event in open_events %}
|
|
|
|
<li><a href="{% url "gestioncof.views.event" event.id %}">{{ event.title }}</a></li>
|
2012-06-27 23:28:35 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2015-12-12 10:31:03 +01:00
|
|
|
{% endif %} -->
|
2013-09-05 22:20:52 +02:00
|
|
|
{% if open_surveys %}
|
|
|
|
<h3>Sondages en cours</h3>
|
2012-06-27 23:28:35 +02:00
|
|
|
<ul>
|
2013-09-05 22:20:52 +02:00
|
|
|
{% for survey in open_surveys %}
|
|
|
|
<li><a href="{% url "gestioncof.views.survey" survey.id %}">{{ survey.title }}</a></li>
|
2012-06-27 23:28:35 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2013-10-01 15:27:19 +02:00
|
|
|
|
2014-08-19 12:54:22 +02:00
|
|
|
|
|
|
|
{% if user.profile.is_cof %}
|
2015-12-12 10:31:03 +01:00
|
|
|
<h3>BdA</h3>
|
2013-09-05 22:20:52 +02:00
|
|
|
<ul>
|
2015-12-12 10:31:03 +01:00
|
|
|
<!-- <li><a href="{% url "bda-tirage-inscription" %}">Inscription au premier tirage au sort du BdA</a></li>
|
|
|
|
<li><a href="{% url "bda-etat-places" %}">État des demandes</a>-->
|
2014-08-19 12:54:22 +02:00
|
|
|
<li><a href="{% url "bda-places-attribuees" %}">Mes places du premier tirage</a></li>
|
|
|
|
<li><a href="{% url "bda-revente" %}">Revendre une place du premier tirage</a></li>
|
|
|
|
<br>
|
2016-05-21 23:57:36 +02:00
|
|
|
Second tirage
|
|
|
|
<!-- <li><a href="{% url "bda2-tirage-inscription" %}">Inscription au deuxième tirage au sort du BdA</a></li>
|
|
|
|
<li><a href="{% url "bda2-etat-places" %}">État des demandes</a></li> -->
|
2014-08-19 12:54:22 +02:00
|
|
|
<li><a href="{% url "bda2-places-attribuees" %}">Mes places du deuxième tirage</a></li>
|
|
|
|
<li><a href="{% url "bda2-revente" %}">Revendre une place du deuxième tirage</a></li>
|
|
|
|
<br>
|
2015-01-06 11:01:15 +01:00
|
|
|
|
2015-09-13 18:23:47 +02:00
|
|
|
|
2014-08-19 12:54:22 +02:00
|
|
|
Troisième tirage
|
2016-05-21 23:57:36 +02:00
|
|
|
<!--<li><a href="{% url "bda3-tirage-inscription" %}">Inscription au troisième tirage au sort du BdA</a></li>
|
|
|
|
<li><a href="{% url "bda3-etat-places" %}">État des demandes</a></li>-->
|
2014-08-19 12:54:22 +02:00
|
|
|
<li><a href="{% url "bda3-places-attribuees" %}">Mes places du troisième tirage</a></li>
|
|
|
|
<li><a href="{% url "bda3-revente" %}">Revendre une place du troisième tirage</a></li>
|
2015-01-06 11:01:15 +01:00
|
|
|
<br>
|
2015-09-13 18:23:47 +02:00
|
|
|
|
2016-05-21 23:57:36 +02:00
|
|
|
</ul>
|
2014-08-19 12:54:22 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2013-10-01 15:27:19 +02:00
|
|
|
<h3>Divers</h3>
|
|
|
|
<ul>
|
|
|
|
|
2015-09-13 18:23:47 +02:00
|
|
|
{% if user.profile.is_cof %}<li><a href="{% url "petits-cours-inscription" %}">Inscription pour donner des petits cours</a></li>{% endif %}
|
2013-10-01 15:27:19 +02:00
|
|
|
|
|
|
|
<li><a href="{% url "gestioncof.views.profile" %}">Éditer mon profil</a></li>
|
2015-09-13 18:23:47 +02:00
|
|
|
{% if not user.profile.login_clipper %}<li><a href="{% url "django.contrib.auth.views.password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
2013-10-01 15:27:19 +02:00
|
|
|
<li><a href="{% url "gestioncof.views.logout" %}">Se déconnecter</a></li>
|
2013-09-05 22:20:52 +02:00
|
|
|
</ul>
|
|
|
|
|
2016-05-24 00:02:25 +02:00
|
|
|
{% if user.profile.is_buro %}
|
2012-07-11 17:39:20 +02:00
|
|
|
<h3>Administration</h3>
|
2012-06-27 23:28:35 +02:00
|
|
|
<ul>
|
2013-09-05 22:20:52 +02:00
|
|
|
<li><a href="{% url "admin:index" %}">Administration générale</a></li>
|
2013-10-01 15:27:19 +02:00
|
|
|
<li><a href="{% url "petits-cours-demandes-list" %}">Demandes de petits cours</a></li>
|
2013-09-05 22:20:52 +02:00
|
|
|
<li><a href="{% url "gestioncof.views.registration" %}">Inscription d'un nouveau membre</a></li>
|
|
|
|
<br>
|
2012-07-11 17:39:20 +02:00
|
|
|
{% for event in events %}
|
2013-09-05 22:20:52 +02:00
|
|
|
<li><a href="{% url "gestioncof.views.event_status" event.id %}">Événement : {{ event.title }}</a></li>
|
2012-07-11 17:39:20 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% for survey in surveys %}
|
2013-09-05 22:20:52 +02:00
|
|
|
<li><a href="{% url "gestioncof.views.survey_status" survey.id %}">Sondage : {{ survey.title }}</a></li>
|
2012-07-11 17:39:20 +02:00
|
|
|
{% endfor %}
|
2013-09-05 22:20:52 +02:00
|
|
|
<br>
|
|
|
|
<li><a href="{% url "gestioncof.views.utile_cof" %}">Liens utiles du COF</a></li>
|
|
|
|
<li><a href="{% url "gestioncof.views.utile_bda" %}">Liens utiles BdA</a></li>
|
2012-07-11 17:39:20 +02:00
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2013-09-05 22:20:52 +02:00
|
|
|
|
|
|
|
<h3>Pour tout problème : cof@ens.fr.</h3>
|
2012-06-27 23:28:35 +02:00
|
|
|
{% endblock %}
|