summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates/host.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/host.html')
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/host.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html
index a8fa6a2cd..73792e0e0 100644
--- a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html
@@ -52,7 +52,7 @@
<td> {{ host.location }}</td></tr>
<tr> <td> <b>expiration_date</b></td>
<td> {{ host.expiration_date }}</td></tr>
- {% for interface in interfaces %}
+ {% for interface in host.inserface_set.all %}
<tr> <td><br><b>Interface</b></td>
{% ifnotequal interface.0.hdwr_type 'no' %}
<td><br>{{ interface.0.hdwr_type }}</td></tr>
@@ -77,4 +77,4 @@
this host is {{ host.status }}<br>
last update on {{ host.last }}<br>
-{% endblock %} \ No newline at end of file
+{% endblock %}