forked from DGNum/gestioCOF
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
1 changed files with 10 additions and 9 deletions
|
@ -56,18 +56,19 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
{% if user.profile.is_cof %}
|
||||
<h3 class="block-title">Divers<span class="pull-right glyphicon glyphicon-question-sign"></span></h3>
|
||||
<div class="hm-block">
|
||||
<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>
|
||||
{% if not user.profile.login_clipper %}<li><a href="{% url "password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{% url "profile" %}">Éditer mon profil</a></li>
|
||||
{% 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>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if user.profile.is_buro %}
|
||||
<div class="col-sm-6 buro-user-hm">
|
||||
|
|
Loading…
Reference in a new issue