diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html index 73907e34..81872e07 100644 --- a/cotisations/templates/cotisations/aff_cotisations.html +++ b/cotisations/templates/cotisations/aff_cotisations.html @@ -17,7 +17,7 @@ {% for facture in facture_list %} - {{ facture.user }} + {{ facture.user }} {{ facture.name }} {{ facture.prix_total }} {{ facture.paiement }} diff --git a/topologie/templates/topologie/aff_port.html b/topologie/templates/topologie/aff_port.html index 53958f69..cfd59374 100644 --- a/topologie/templates/topologie/aff_port.html +++ b/topologie/templates/topologie/aff_port.html @@ -12,9 +12,21 @@ {% for port in port_list %} {{ port.port }} - {{ port.room }} - {{ port.machine_interface }} - {{ port.related }} + + {% if port.room %} + {{ port.room }} + {% endif %} + + + {% if port.machine_interface %} + {{ port.machine_interface }} + {% endif %} + + + {% if port.related %} + {{ port.related }} + {% endif %} + {{ port.details }}