diff --git a/app/templates/apps/manage_app.html b/app/templates/apps/manage_app.html index c9197e9e..79fc3b45 100644 --- a/app/templates/apps/manage_app.html +++ b/app/templates/apps/manage_app.html @@ -50,10 +50,12 @@ {% for cport, others in container.ports.items() %} {{cport}} - {% for value in others %} - {{ value.get('HostIp') }} - {{ value.get('HostPort') }} - {% endfor %} + {% if others %} + {% for value in others %} + {{ value.get('HostIp') }} + {{ value.get('HostPort') }} + {% endfor %} + {% endif %} {% endfor %}