Commit 920b5f06 authored by Amap's avatar Amap

Pas le menu sac pour les users normaux

parent c4e7f258
...@@ -68,8 +68,8 @@ ...@@ -68,8 +68,8 @@
<h2>Commandes et crédits</h2> <h2>Commandes et crédits</h2>
{% if is_bureau %}<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:add-credit' user.id %}"><i class="glyphicon glyphicon-piggy-bank"></i> Enregistrer un crédit</a>{% endif %} {% if is_bureau %}<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:add-credit' user.id %}"><i class="glyphicon glyphicon-piggy-bank"></i> Enregistrer un crédit</a>{% endif %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:new-commande' user.id %}"><i class="glyphicon glyphicon-shopping-cart"></i> Nouvelle commande</a> <a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:new-commande' user.id %}"><i class="glyphicon glyphicon-shopping-cart"></i> Nouvelle commande</a>
<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:add-sac' user.id %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un sac consigné</a> {% if is_bureau %}<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:add-sac' user.id %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un sac consigné</a>
<a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:del-sac' user.id %}"><i class="glyphicon glyphicon-minus"></i> Retirer un sac consigné</a> <a class="btn btn-primary btn-sm" role="button" href="{% url 'panier:del-sac' user.id %}"><i class="glyphicon glyphicon-minus"></i> Retirer un sac consigné</a>{% endif %}
<br/> <br/>
{% include "panier/aff_paniers.html" %} {% include "panier/aff_paniers.html" %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment