home templates: add links for non-COF users
Add links to - change password page - profile page
This commit is contained in:
parent
730611039b
commit
0814cfe1ef
|
@ -56,18 +56,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if user.profile.is_cof %}
|
|
||||||
<h3 class="block-title">Divers<span class="pull-right glyphicon glyphicon-question-sign"></span></h3>
|
<h3 class="block-title">Divers<span class="pull-right glyphicon glyphicon-question-sign"></span></h3>
|
||||||
<div class="hm-block">
|
<div class="hm-block">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{% url "calendar" %}">Calendrier dynamique</a></li>
|
|
||||||
{% 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 "profile" %}">Éditer mon profil</a></li>
|
<li><a href="{% url "profile" %}">Éditer mon profil</a></li>
|
||||||
{% if not user.profile.login_clipper %}<li><a href="{% url "password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
{% if user.profile.is_cof %}
|
||||||
|
<li><a href="{% url "calendar" %}">Calendrier dynamique</a></li>
|
||||||
|
<li><a href="{% url "petits-cours-inscription" %}">Inscription pour donner des petits cours</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% if not user.profile.login_clipper %}
|
||||||
|
<li><a href="{% url "password_change" %}">Changer mon mot de passe</a></li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% if user.profile.is_buro %}
|
{% if user.profile.is_buro %}
|
||||||
<div class="col-sm-6 buro-user-hm">
|
<div class="col-sm-6 buro-user-hm">
|
||||||
|
|
Loading…
Reference in a new issue