{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {$xajax}
| {trans("Model list")} | {trans("Total:")} {$listdata.total} | |||
| {include file="scroller.html" loop=$modellist} | ||||
| {trans("Name")} | {trans("Alternative name")} | {trans("Type")} | {trans("Network devices")} | {button icon="add" label="Add model" onclick="xajax_add_model();"} |
| {$model.name} | {$model.alternative_name} | {if !empty($model.devtype)} {trans($model.devtypename)} ({strip} {if empty($model.devtypepassive)}{trans("active")}{else}{trans("passive")}{/if} {/strip}) {/if} | {if $model.netdevcount}{$model.netdevcount}{/if} |
{if $model.filecontainers}
{foreach $model.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}
{foreach $model.customlinks as $link}
{if isset($link.icon)} |
| {include file="scroller.html" loop=$modellist} | ||||
|
{trans("There are no models matching to defined filter or model list is empty")} {button icon="add" label="Add new model" onclick="xajax_add_model();"} |