{icon name="netdev"} {$netdev.name} (#{$netdev.id})
{if !empty($netdev.ownerid)} {/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}
{icon name="customer"} {trans("Owner")} {$netdev.owner} (#{$netdev.ownerid})
{icon name="status"} {trans("Status")} {$_NETELEMENTSTATUSES[$netdev.status]}
{icon name="hardware"} {trans("Producer")} {$netdev.producer}
{icon name="hardware"} {trans("Model")} {$netdev.model}
{icon name="sn"} {trans("Serial number")} {$netdev.serialnumber}
{icon name="port"} {trans("Number of ports")} {$netdev.ports}
{icon name="port-connected"} {trans("Ports used")} {$netdev.takenports}
{icon name="home"} {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}
{icon name="location"} {trans("GPS longitude")} {if empty($netdev.longitude)} {$netdev.netnode.longitude} {trans("(from network node)")} {else} {$netdev.longitude} {/if}
{icon name="location"} {trans("GPS latitude")} {if empty($netdev.latitude)} {$netdev.netnode.latitude} {trans("(from network node)")} {else} {$netdev.latitude} {/if}
{button type="link" icon="map" label="Show on map" href="?m=netdevmap&netdevid={$netdev.id}"}
{icon name="radius"} {trans("Shortname")} {$netdev.shortname}
{icon name="radius"} {trans("Type")} {$netdev.nastypename}
{icon name="radius"} {trans("Max clients")} {$netdev.clients}
{icon name="radius"} {trans("Login")} {$netdev.login}
{icon name="radius"} {trans("Secret")} {if ConfigHelper::checkConfig('phpui.protect_passwords')} {button class="lms-ui-button-clipboard" data_clipboard_text="{$netdev.secret}" icon="copy" label="Copy"} {else} {$netdev.secret} {/if}
{icon name="radius"} {trans("Community")} {$netdev.community}
{trans("Channel")} {$netdev.channel} (#{$netdev.channelid})
{if $netdev.purchasetime} {/if} {if $netdev.description} {/if} {if $netdev.netnodeid} {/if}
{icon name="calendar"} {trans("Purchase date")} {$netdev.purchasetime|date_format:"%Y/%m/%d"}
{icon name="warranty"} {trans("Warranty")} {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}
{icon name="description"}
{$netdev.description|escape|replace:"\n":"
"}
{icon name="invproject"} {trans("Investment project")} {$netdev.projectname}
{icon name="netdev"} {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}