2018-10-05 22:03:02 +00:00
{% if request.user.is_authenticated %}
< span class = "tabulation2" >
< a href = "{% url 'users:profile' request.user.pk %}" > Mon profil< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% if perms.gestion.add_consumptionhistory or perms.gestion.add_refund or perms.gestion.add_reload %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
2018-12-23 20:57:02 +00:00
< a href = "{% url 'gestion:manage' %}" > Transactions< / a >
2018-10-05 22:03:02 +00:00
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
{% if perms.auth.add_user or perms.auth.view_user or perms.auth.add_group or perms.auth.view_group or perms.users.add_school or perms.users.view_school %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'users:index' %}" > Gestion des clients< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
{% if perms.gestion.view_product or perms.gestion.add_product or perms.gestion.add_keg or perms.gestion.view_keg or perms.gestion.change_keg or perms.gestion.view_menu or perms.gestion.add_menu %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'gestion:productsIndex' %}" > Gestion des produits< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
2018-11-22 21:52:15 +00:00
< a href = "{% url 'gestion:ranking' %}" > Classement< / a >
2018-10-05 22:03:02 +00:00
< / span >
2018-12-02 18:26:33 +00:00
{% if perms.preferences.change_generalpreferences %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'preferences:generalPreferences' %}" > Admin< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
{% if perms.preferences.view_cotisation %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'preferences:cotisationsIndex' %}" > Cotisations< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
{% if perms.preferences.view_cotisation %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'preferences:paymentMethodsIndex' %}" > Moyens de paiement< / a >
< / span >
2018-12-02 18:26:33 +00:00
{% endif %}
2018-10-05 22:03:02 +00:00
< span class = "tabulation2" >
< a href = "{% url 'users:logout' %}" > Deconnexion< / a >
< / span >
{% else %}
< a href = "{% url 'users:login' %}" > Connexion< / a >
{% endif %}