{if isset($MercuryclientConsumption)} {/if} {assign var=node_simple value=$nodecalc.printer + $nodecalc.alive + $nodecalc.pcWin} {if isset($MercuryclientConsumption)} {/if}

{$lang.ADM_NODE_CONSUMPTION}

{$lang.TOTAL} : {$nodecalc.active} / {$licence_max}
{$lang.TOTAL} ({$lang.LOCAL_INSTANCE}): {$nodecalc.local} {if !isset($MercuryclientConsumption)}/ {$licence_max}{/if}
{$lang.ADM_NODE_NOCOUNT} ({$lang.LOCAL_INSTANCE}): {$nodecalc.empty}
{$lang.ADM_NODE_UNITY}: {$gesa_number}
{$lang.REMOTE_INSTANCE_MERCURY} : {$nodecalc.mercury}

{if isset($Mercuryclient)} {foreach from=$Mercuryclient item=client} {if $client.state.critical > 0} {elseif $client.state.warning > 0} {elseif $client.state.unknown > 0} {else} {/if} {/foreach}
Mercury-client {$lang.GESA_STATUS} {$lang.LICENCE_NODE_NUMBER} {$lang.LIMIT}
{$client.name}{$lang.GESA_DISCONNECTED}{$lang.ALERTS}{$lang.GESA_DISCONNECTED}{$lang.GESA_CONNECTED}{$client.conso} {if $client.max_node> 0} {$client.max_node} {/if}


{/if} {foreach from=$nodecalcByUnity key=sn item=unity} {assign var=node_simple value=$unity.printer + $unity.alive + $unity.pc} {if $unity.state eq 'disconnected'} {else} {/if} {/foreach}
{$lang.ADM_NODE_UNITY} {$lang.GESA_STATUS} {$lang.LICENCE_NODE_NUMBER}
{$unity.name} ({$sn}){$lang.GESA_DISCONNECTED}{$lang.GESA_CONNECTED}{$unity.advanced_node + $node_simple}