From afb436f70651db63cff066bfd3b0090db79996b2 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 23 Feb 2014 02:42:57 +0100 Subject: [PATCH] =?UTF-8?q?hide=20ipv6=20si=20cach=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printing/templates/machine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/printing/templates/machine b/printing/templates/machine index eb35287..b8628f0 100644 --- a/printing/templates/machine +++ b/printing/templates/machine @@ -4,7 +4,8 @@ {% endif %} {{"MAC : "|coul('gras')}}{{o.macAddress|join(', ')|const_of_mac}} {{"IPv4 : "|coul('gras')}}{{o.ipHostNumber|join(', ')}} -{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}} +{% if o.ip6HostNumber %}{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}} +{% endif %} {{"DnsIpv6 : "|coul('gras')}}{% if not o.dnsIpv6 or o.dnsIpv6.0.value %} {{"TRUE"|coul('vert')}} {% else %}