{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{if $pagination->getTotal() != 0} {/if} {foreach $nlist as $item} {foreachelse} {/foreach} {if $pagination->getTotal() != 0} {/if}
{trans("Name:")} {if $listdata.order == "name"} {/if}
{trans("Type:")} {if $listdata.order == "type"} {/if} / {trans("Status:")} {if $listdata.order == "status"} {/if}
{trans("Network Devices")} {if $listdata.order == "netdevcount"} {/if} {trans("Location:")} {if $listdata.order == "location"} {/if} {trans("Project:")} {if $listdata.order == "invprojectid"} {/if} ID: {if $listdata.order == "id"} {/if} {trans("Last inspection:")} {if $listdata.order == "lastinspectiontime"} {/if}
{trans("Filter:")} {if $divisions} {/if} {button icon="add" label="Add network node" onclick="location.href = '?m=netnodeadd';"}
{include file="pagination.html"}
{$item.name}
{$_NETELEMENTTYPES[$item.type]} / {$_NETELEMENTSTATUSES[$item.status]}
{$item.netdevcount} {$item.location} {if $item.location_borough_name}
({$item.location_state_name} / {$item.location_district_name} / {$_BOROUGHTYPES[$item.location_borough_type]} {$item.location_borough_name})
{/if}
{if ($item.invprojectid==1)}{trans("— none —")}{else}{$item.project|escape}{/if} ({$item.id|string_format:"%04d"}) {$item.lastinspectiontime|date_format:"Y-m-d"} {if $item.filecontainers} {foreach $item.filecontainers as $filecontainer} {if $filecontainer.files} {button class="models-toggle-file-list" type="link" icon="attachment" tip="Show file list" resourceid={$filecontainer.id} label="{$filecontainer.description|default:'---'}"} {/if} {/foreach} {/if} {button type="link" icon="delete" class="delete-netnode" tip="Delete" href="?m=netnodedel&id={$item.id}"} {button type="link" icon="edit" tip="Edit" href="?m=netnodeedit&id={$item.id}"} {button type="link" icon="info" tip="Info" href="?m=netnodeinfo&id={$item.id}"}
{trans("There are no device nodes in your database.")}
{include file="pagination.html"} {trans("Total:")} {$listdata.total|default:"0"}
{/block}