diff --git a/topologie/templates/topologie/aff_switch.html b/topologie/templates/topologie/aff_switch.html index f503798e..5f8c6b4c 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 %}