{$netdev.name} ({$netdev.id|string_format:"%04d"})
{if $netdev.ownerid != null} {/if} {if $netdev.producer} {/if} {if $netdev.model} {/if} {if $netdev.serialnumber} {/if} {if $netdev.location || ($netdev.netnodeid && $netdev.netnode.location)} {/if} {if $netdev.longitude || $netdev.latitude || ($netdev.netnodeid && ($netdev.netnode.longitude || $netdev.netnode.latitude))} {/if} {if ConfigHelper::checkConfig('phpui.radius')} {if $netdev.shortname} {/if} {if $netdev.nastype} {/if} {if $netdev.clients} {/if} {if $netdev.login} {/if} {if $netdev.secret} {/if} {if $netdev.community} {/if} {/if} {if $netdev.channelid} {/if}
{trans("Owner:")} {$netdev.owner}
{trans("Status:")} {$_NETELEMENTSTATUSES[$netdev.status]}
{trans("Producer:")} {$netdev.producer}
{trans("Model:")} {$netdev.model}
{trans("Serial number:")} {$netdev.serialnumber}
{trans("Number of ports:")} {$netdev.ports}
{trans("Ports used:")} {$netdev.takenports}
{trans("Location:")} {if $netdev.location} {if $netdev.location_name}{$netdev.location_name}, {/if}{$netdev.location} {if $netdev.borough_name} ({$netdev.state_name} / {$netdev.district_name} / {$_BOROUGHTYPES[$netdev.borough_type]} {$netdev.borough_name}) {/if} {else} {$netdev.netnode.location} {if $netdev.netnode.location_borough_name} ({$netdev.netnode.location_state_name} / {$netdev.netnode.location_district_name} / {$_BOROUGHTYPES[$netdev.netnode.location_borough_type]} {$netdev.netnode.location_borough_name}) {/if} {trans("(from network node)")} {/if}
{trans("GPS longitude:")} {if empty($netdev.longitude)} {$netdev.netnode.longitude} {trans("(from network node)")} {else} {$netdev.longitude} {/if}
{trans("GPS latitude:")} {if empty($netdev.latitude)} {$netdev.netnode.latitude} {trans("(from network node)")} {else} {$netdev.latitude} {/if}
{trans("Show on map")} »»»
{trans("Shortname:")} {$netdev.shortname}
{trans("Type:")} {$netdev.nastypename}
{trans("Max clients:")} {$netdev.clients}
{trans("Login:")} {$netdev.login}
{trans("Secret:")} {if ConfigHelper::checkConfig('phpui.protect_passwords')} {else} {$netdev.secret} {/if}
{trans("Community:")} {$netdev.community}
{trans("Channel:")} {$netdev.channel} ({$netdev.channelid|string_format:"%04d"})
{if $netdev.purchasetime} {/if} {if $netdev.description} {/if} {if $netdev.netnodeid} {/if}
{trans("Purchase date:")} {$netdev.purchasetime|date_format:"%Y/%m/%d"}
{trans("Guarantee:")} {if !$netdev.guaranteeperiod} {trans("no guarantee")} {elseif $netdev.guaranteeperiod == -1} {trans("lifetime")} {else} {assign var=periodid value=$netdev.guaranteeperiod} {$_GUARANTEEPERIODS.$periodid} ({if $netdev.guaranteetime-$smarty.now < 0}{trans("expired")}{else}{$netdev.guaranteetime|date_format:"%Y/%m/%d"}{/if}) {/if}
{$netdev.description|escape|replace:"\n":"
"}
{trans("Investment project:")} {$netdev.projectname}
{trans("Network node:")} {$netdev.netnode.name}
{if !$devicepanel}
{/if}
{block name="netdevinfobox-buttons"} {button icon="clone" id="clone-netdev" onclick="location.href = '?m=netdevadd&id={$netdev.id}&clone=1';" label="Clone"} {button icon="edit" id="edit-netdev" onclick="location.href = '?m=netdevedit&id={$netdev.id}';" label="Edit" accesskey="E"} {button icon="delete" id="delete-netdev" label="Delete" data_name="{$netdev.name}"} {/block}
{if !empty($targetnetdevs)}
{button icon="convert" id="replace-netdev" label="Replace"}
{/if}
{if $devicepanel} {/if}