From 43f78eecf60774a8d547169f37bccef367a18880 Mon Sep 17 00:00:00 2001 From: LEVY-FALK Hugo Date: Sat, 21 Oct 2017 23:40:59 +0200 Subject: [PATCH] Nettoyage de l'affichage des switches. --- topologie/templates/topologie/aff_switch.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/topologie/templates/topologie/aff_switch.html b/topologie/templates/topologie/aff_switch.html index 611e6c39..bd567d43 100644 --- a/topologie/templates/topologie/aff_switch.html +++ b/topologie/templates/topologie/aff_switch.html @@ -48,13 +48,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {{switch.stack.name}} {{switch.stack_member_id}} {{switch.details}} - - - - - {% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %} - {% include 'buttons/suppr.html' with href='machines:del-interface' id=switch.switch_interface.id %} - + + {% include 'buttons/history.html' with href='topologie:history' name='switch' id=switch.pk%} + {% if is_infra %} + {% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %} + {% include 'buttons/suppr.html' with href='machines:del-interface' id=switch.switch_interface.id %} + {% endif %} {% endfor %}