Commit 2c07aa75 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

show open ports info only if there is any

parent dcfa1199
......@@ -60,8 +60,8 @@
<li><b>Memory:</b> {{domain.memory}}</li>
<li><b>CPUs:</b> {{domain.nrVirtCpu}}</li>
</ul>
<h3 ng-show="domain.ports">Open ports</h3>
<ul ng-show="domain.ports">
<h3 ng-show="domain.ports.length">Open ports</h3>
<ul ng-show="domain.ports.length">
<li ng-repeat="port in domain.ports">
<b>{{port.name}}</b>
{{domain.display.ip}} : {{port.public_port}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment