{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 $model.type}{trans($model.typename)}{/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="fileupload" tip="Show file list" resourceid={$filecontainer.id} label="{$filecontainer.description|default:'---'}"}
{/if}
{if isset($link.icon)} |
{/foreach}
{/if}
{foreach $model.customlinks as $link}
{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();"} |