diff --git a/topologie/templates/topologie/aff_port.html b/topologie/templates/topologie/aff_port.html index d6f18316..b781cc96 100644 --- a/topologie/templates/topologie/aff_port.html +++ b/topologie/templates/topologie/aff_port.html @@ -32,6 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "Port" as tr_port %} {% include "buttons/sort.html" with prefix='port' col='port' text=tr_port %} + {% if search %} + {% trans "Switch" %} + {% endif %} {% trans "Room" as tr_room %} {% include "buttons/sort.html" with prefix='port' col='room' text=tr_room %} {% trans "Interface" as tr_interface %} @@ -46,11 +49,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for port in port_list %} - {% if search %} - {{ port.port }} - {% else %} {{ port.port }} - {% endif %} + {% if search %} + + {{ port.switch }} + + {% endif %} {% if port.room %} {{ port.room }}