diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index 986e1765..0020d8b3 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -44,7 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc., IP Actions - {% for machine in machines_list %} + {% for machine in machines_list %} {{ machine.name|default:'Pas de nom' }} @@ -53,26 +53,26 @@ with this program; if not, write to the Free Software Foundation, Inc., - {% can_create Interface machine.id %} + {% can_create Interface machine.id %} {% include 'buttons/add.html' with href='machines:new-interface' id=machine.id desc='Ajouter une interface' %} - {% acl_end %} + {% acl_end %} {% include 'buttons/history.html' with href='machines:history' name='machine' id=machine.id %} - {% can_delete machine %} + {% can_delete machine %} {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} - {% acl_end %} + {% acl_end %} {% for interface in machine.interface_set.all %} - {% if interface.domain.related_domain.all %} - {{ interface.domain }} - - {% else %} + {% else %} {{ interface.domain }} - {% endif %} + {% endif %} {{ interface.type }} @@ -85,50 +85,52 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if ipv6_enabled and interface.ipv6 != 'None'%} IPv6 - + {% endif %} -