[printing/machine] Les machines ont des hostAlias, affichage de l'attribut dnsIpv6
gestion des divers proprio (aid ou cid ou association crans).
This commit is contained in:
parent
f4730bb6ea
commit
0a7b99d4a8
1 changed files with 11 additions and 2 deletions
|
@ -1,9 +1,18 @@
|
|||
{{["mid=",o.mid.0]|join|coul('bleu')}} {{[o.objectClass.0, " : "]|join|coul('gras')}}{{o.host.0}} {{["rid=",o.rid.0]|join|coul('bleu')}}
|
||||
{% if o.alias %}
|
||||
{{"Alias : "|coul('gras')}}{{o.alias|join(', ')}}
|
||||
{% if o.hostAlias %}
|
||||
{{"Alias : "|coul('gras')}}{{o.hostAlias|join(', ')}}
|
||||
{% endif %}
|
||||
{{"MAC : "|coul('gras')}}{{o.macAddress|join(', ')}}
|
||||
{{"IPv4 : "|coul('gras')}}{{o.ipHostNumber|join(', ')}}
|
||||
{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}}
|
||||
{{"DnsIpv6 : "|coul('gras')}}{% if not o.dnsIpv6 or o.dnsIpv6.0.value %}
|
||||
{{"TRUE"|coul('vert')}}
|
||||
{% else %}
|
||||
{{"FALSE"|coul('rouge')}}
|
||||
{% endif %}
|
||||
{% if o.proprio().aid %}
|
||||
{{"Propriétaire : "|coul('gras')}}{{o.proprio().prenom|join(', ')}} {{o.proprio().nom|join(', ')}} (aid={{o.proprio().aid|join(', ')}})
|
||||
{% elif o.proprio().cid %}
|
||||
{{"Propriétaire : "|coul('gras')}}{{o.proprio().nom|join(', ')}} (cid={{o.proprio().cid|join(', ')}})
|
||||
{% endif %}
|
||||
{% include 'blacklist' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue