From 064b4ca0e8d28062dbd028ca61f79798b84e260b Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Fri, 8 Sep 2006 20:11:58 +0000 Subject: minor updates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2230 ce84e21b-d406-0410-9b95-82705330c041 --- .../Hostbase/hostbase/webtemplates/host.html | 50 +++++++++++----------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/host.html') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html index 43baa14c6..937d0115d 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html @@ -100,49 +100,49 @@ printq $host.printq dhcp - #if $host.dhcp + {% if host.dhcp %} y - #else + {% else %} n - #end if + {% endif %} outbound_smtp - #if $host.outbound_smtp + {% if host.outbound_smtp %} y - #else + {% else %} n - #end if + {% endif %} primary_user - $host.primary_user + {{ host.primary_user }} administrator - $host.administrator + {{ host.administrator }} location - $host.location + {{ host.location }} expiration_date - $host.expiration_date - #for $interface in $interfaces + {{ host.expiration_date }} + {% for interface in interfaces %}
Interface - #if $interface.hdwr_type != 'no' -
$interface.hdwr_type - #end if + {% ifnotequal interface.hdwr_type 'no' %} +
{{ interface.hdwr_type }} + {% endif %} mac_addr - $interface.mac_addr - #for $ip in $ips[$interface.id] + {{ interface.mac_addr }} + {% for ip in ips.{{ interface.id }} %} ip_addr - $ip.ip_addr - #end for - #end for + {{ ip.ip_addr }} + {% endfor %} + {% endfor %} comments - #for $line in $host.comments.split("\n") - $line
- #end for + {% for line in host.comments.split("\n") %} + {{ line }}
+ {% endfor %} -see detailed DNS information for this host +see detailed DNS information for this host

-this host is $host.status
-last update on $host.last
+this host is {{ host.status }}
+last update on {{ host.last }}
-- cgit v1.2.3-1-g7c22