From 51166271ff79acb2f15f6060505f65de688adf9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yves=20M=C3=BCller?=
Date: Thu, 26 Sep 2013 11:00:08 +0200
Subject: templates: increase stability against malformed templates
---
templates/index.html | 2 ++
1 file changed, 2 insertions(+)
(limited to 'templates/index.html')
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 @@
+ {% if host['addresses'] %}
{% for ip in host['addresses'] | select_with_attribute('vserver', False) | sort(attribute='address') %}
- {{ip['address']}}
{% endfor %}
+ {% endif %}
--
cgit v1.2.3-1-g7c22