diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-22 17:44:00 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-22 17:44:00 +0200 |
commit | f9878932ef3a72a4e3708febb3545ece11d3a9cf (patch) | |
tree | 037de19b1502e8616be6bd664f135133fd19b00c /templates/host.html | |
parent | 05974cf92a8a9daf1cd456629a121a3ddf0d13cb (diff) | |
download | www-f9878932ef3a72a4e3708febb3545ece11d3a9cf.tar.gz www-f9878932ef3a72a4e3708febb3545ece11d3a9cf.tar.bz2 www-f9878932ef3a72a4e3708febb3545ece11d3a9cf.zip |
host: filter out vserver ips on vserver hosts
Diffstat (limited to 'templates/host.html')
-rw-r--r-- | templates/host.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/host.html b/templates/host.html index df34ab2..5f492b0 100644 --- a/templates/host.html +++ b/templates/host.html @@ -26,12 +26,12 @@ </div> <div class="tab-pane row" id="interfaces"> - {% for group in addresses | groupby('interface') %} + {% for group in addresses | select_with_attribute('vserver', False) | groupby('interface') %} <div class="span6"> <h3>{{ group.grouper }}</h3> <ul> {% for address in group.list %} - <li>{{address['address']}} /{{address['netmask']}}</li> + <li>{{address['address']}}/{{address['netmask']}}</li> {% else %} <li>no address</li> {% endfor %} |