diff options
author | Yves Müller <uves@spline.de> | 2013-09-26 11:00:08 +0200 |
---|---|---|
committer | root <root@vm-staticweb.spline.inf.fu-berlin.de> | 2013-09-26 11:00:51 +0200 |
commit | 51166271ff79acb2f15f6060505f65de688adf9d (patch) | |
tree | df3ebf54c1fe368fbe46b556d7e2ced7f4092684 /templates/index.html | |
parent | 9159492e38a46a36a861600427f0589f2c4ec180 (diff) | |
download | www-51166271ff79acb2f15f6060505f65de688adf9d.tar.gz www-51166271ff79acb2f15f6060505f65de688adf9d.tar.bz2 www-51166271ff79acb2f15f6060505f65de688adf9d.zip |
templates: increase stability against malformed templates
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index a5c9d7e..36d83e4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -43,9 +43,11 @@ </p> <ul class="ips inline"> + {% if host['addresses'] %} {% for ip in host['addresses'] | select_with_attribute('vserver', False) | sort(attribute='address') %} <li>{{ip['address']}}</li> {% endfor %} + {% endif %} </ul> </div> </li> |