diff --git a/topologie/templates/topologie/aff_port_profile.html b/topologie/templates/topologie/aff_port_profile.html index 2e5d432d..2e3f5fed 100644 --- a/topologie/templates/topologie/aff_port_profile.html +++ b/topologie/templates/topologie/aff_port_profile.html @@ -54,14 +54,13 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "RADIUS settings" %} {% trans "Speed limit" %} {% trans "MAC address limit" %} - {% trans "Security" %} {{ port_profile.profil_default }} {% if port_profile.profil_default%} - - {% if port_profile.on_dormitory %}{% blocktrans with dorm=port_profile.on_dormitory %} on {{ dorm }}{% endblocktrans %}{% else %}{% trans "Everywhere" %}{% endif %} + {% if port_profile.on_dormitory %}{% blocktrans with dorm=port_profile.on_dormitory %} on {{ dorm }}{% endblocktrans %}{% else %}{% trans "Everywhere" %}{% endif %} {% endif %} @@ -72,11 +71,15 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endif %} {{ port_profile.speed }} {{ port_profile.mac_limit }} - {{ port_profile.security_parameters_enabled|join:"
" }} + {% if port_profile.security_parameters_enabled %} + + {% endif %}