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 }}
-
{{ 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
-
- Afficher l'IPV6
-
+
+ Afficher l'IPV6
+
{% endif %}
@@ -136,22 +138,22 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if ipv6_enabled and interface.ipv6 != 'None'%}
-
+
- {% for ipv6 in interface.ipv6.all %}
+ {% for ipv6 in interface.ipv6.all %}
- {{ipv6}}
-
- {% endfor %}
-
+ {{ipv6}}
+
+ {% endfor %}
+
{% endif %}
- {% if interface.domain.related_domain.all %}
-
+ {% if interface.domain.related_domain.all %}
+
@@ -182,13 +184,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
$("#machines_table").ready( function() {
var alias_div = [{% for machine in machines_list %}{% for interface in machine.interface_set.all %}{% if interface.domain.related_domain.all %}$("#collapseDomain_{{interface.id}}"), {% endif %}{% endfor %}{% endfor %}];
for (var i=0 ; i