Modification des urls
This commit is contained in:
parent
7c7488f168
commit
4858fe0fb7
3 changed files with 46 additions and 59 deletions
|
@ -21,62 +21,63 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if user.profile.is_cof %}
|
||||
<h3>BdA</h3>
|
||||
<ul>
|
||||
<!-- <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>-->
|
||||
<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>
|
||||
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> -->
|
||||
<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>
|
||||
|
||||
|
||||
Troisième tirage
|
||||
<!--<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>-->
|
||||
<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>
|
||||
<br>
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if user.profile.is_cof %}
|
||||
<h3>BdA</h3>
|
||||
<ul>
|
||||
Premier tirage
|
||||
<li><a href="{% url "bda-tirage-inscription" 1 %}">Inscription au premier tirage au sort du BdA</a></li>
|
||||
<li><a href="{% url "bda-etat-places" 1 %}">État des demandes</a>
|
||||
<li><a href="{% url "bda-places-attribuees" 1 %}">Mes places du premier tirage</a></li>
|
||||
<br>
|
||||
|
||||
Second tirage
|
||||
<li><a href="{% url "bda-tirage-inscription" 2 %}">Inscription au deuxième tirage au sort du BdA</a></li>
|
||||
<li><a href="{% url "bda-etat-places" 2 %}">État des demandes</a></li>
|
||||
<li><a href="{% url "bda-places-attribuees" 2 %}">Mes places du deuxième tirage</a></li>
|
||||
<br>
|
||||
|
||||
Troisième tirage
|
||||
<li><a href="{% url "bda-tirage-inscription" 3 %}">Inscription au troisième tirage au sort du BdA</a></li>
|
||||
<li><a href="{% url "bda-etat-places" 3 %}">État des demandes</a></li>
|
||||
<li><a href="{% url "bda-places-attribuees" 3 %}">Mes places du troisième tirage</a></li>
|
||||
<br>
|
||||
|
||||
Revente
|
||||
<li><a href="{% url "bda-revente" %}">Revendre une place</a></li>
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
<h3>Divers</h3>
|
||||
<ul>
|
||||
|
||||
{% if user.profile.is_cof %}<li><a href="{% url "petits-cours-inscription" %}">Inscription pour donner des petits cours</a></li>{% endif %}
|
||||
|
||||
<li><a href="{% url "gestioncof.views.profile" %}">Éditer mon profil</a></li>
|
||||
<li><a href="{% url "gestioncof.views.profile" %}">Éditer mon profil</a></li>
|
||||
{% if not user.profile.login_clipper %}<li><a href="{% url "django.contrib.auth.views.password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
||||
<li><a href="{% url "gestioncof.views.logout" %}">Se déconnecter</a></li>
|
||||
<li><a href="{% url "gestioncof.views.logout" %}">Se déconnecter</a></li>
|
||||
</ul>
|
||||
|
||||
{% if user.profile.is_buro %}
|
||||
<h3>Administration</h3>
|
||||
<ul>
|
||||
<li><a href="{% url "admin:index" %}">Administration générale</a></li>
|
||||
<li><a href="{% url "petits-cours-demandes-list" %}">Demandes de petits cours</a></li>
|
||||
<li><a href="{% url "gestioncof.views.registration" %}">Inscription d'un nouveau membre</a></li>
|
||||
<br>
|
||||
<li><a href="{% url "admin:index" %}">Administration générale</a></li>
|
||||
<li><a href="{% url "petits-cours-demandes-list" %}">Demandes de petits cours</a></li>
|
||||
<li><a href="{% url "gestioncof.views.registration" %}">Inscription d'un nouveau membre</a></li>
|
||||
<br>
|
||||
{% for event in events %}
|
||||
<li><a href="{% url "gestioncof.views.event_status" event.id %}">Événement : {{ event.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% for survey in surveys %}
|
||||
<li><a href="{% url "gestioncof.views.survey_status" survey.id %}">Sondage : {{ survey.title }}</a></li>
|
||||
{% endfor %}
|
||||
<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>
|
||||
<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>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
<h3>Pour tout problème : cof@ens.fr.</h3>
|
||||
<h3>Pour tout problème : cof@ens.fr.</h3>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue