summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates/host.html
diff options
context:
space:
mode:
authorRene Martin <rene@minicroso.(none)>2010-04-04 19:02:25 +0100
committerSol Jerome <solj@ices.utexas.edu>2010-04-08 09:03:39 -0500
commit0153af6e2ed6671ea2ee013a7f551ba7c61a5c88 (patch)
treec118c3603ace9e78739f79601a7fa2016240a8a3 /src/lib/Server/Hostbase/hostbase/webtemplates/host.html
parent66f08b0a6dd519009c6d2094421498e4d446114e (diff)
downloadbcfg2-0153af6e2ed6671ea2ee013a7f551ba7c61a5c88.tar.gz
bcfg2-0153af6e2ed6671ea2ee013a7f551ba7c61a5c88.tar.bz2
bcfg2-0153af6e2ed6671ea2ee013a7f551ba7c61a5c88.zip
Trying to commit all my work
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 %}