diff --git a/topologie/templates/topologie/aff_port.html b/topologie/templates/topologie/aff_port.html index 8a1268a3..837c2b53 100644 --- a/topologie/templates/topologie/aff_port.html +++ b/topologie/templates/topologie/aff_port.html @@ -38,16 +38,19 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for port in port_list|slice:"::2" %} + {% if port.room %} - {% if port.room %} - {{ port.room }} - {% elif port.machine_interface %} - {{ port.machine_interface }} - {% elif port.related%} - {{ port.related }} - {% else %} - Vide - {% endif %} + {{ port.room }} + {% elif port.machine_interface %} + + {{ port.machine_interface }} + {% elif port.related%} + + {{ port.related }} + {% else %} + + Vide + {% endif %} {% endfor %} @@ -63,16 +66,19 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for port in port_list|slice:"1::2" %} + {% if port.room %} - {% if port.room %} - {{ port.room }} - {% elif port.machine_interface %} - {{ port.machine_interface }} - {% elif port.related%} - {{ port.related }} - {% else %} - Vide - {% endif %} + {{ port.room }} + {% elif port.machine_interface %} + + {{ port.machine_interface }} + {% elif port.related%} + + {{ port.related }} + {% else %} + + Vide + {% endif %} {% endfor %}