From 8e8f47c331fc4a7563fe11f6a9dea1f467ee9c8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 28 Jun 2014 14:01:21 +0200 Subject: [PATCH] move add button on top of the list --- matos/templates/matos/piece_list.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/matos/templates/matos/piece_list.html b/matos/templates/matos/piece_list.html index 25d4dc2..0a3a4f0 100644 --- a/matos/templates/matos/piece_list.html +++ b/matos/templates/matos/piece_list.html @@ -6,14 +6,16 @@ {% block content %} +{% if perms.matos.add_piece %} +

+Nouvelle pièce +

+{% endif %} + -{% if perms.matos.add_piece %} -Nouvelle pièce -{% endif %} - {% endblock %} -- 2.39.2