{include file='header' pageTitle='wcf.acp.template.group.list'}

{lang}wcf.acp.template.group.list{/lang} {#$items}

{hascontent}
{content}{pages print=true assign=pagesLinks controller="TemplateGroupList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content}
{/hascontent} {if $objects|count}
{event name='columnHeads'} {foreach from=$objects item=templateGroup} {event name='columns'} {/foreach}
{lang}wcf.global.objectID{/lang} {lang}wcf.global.name{/lang} {lang}wcf.acp.template.group.folderName{/lang} {lang}wcf.acp.template.group.templates{/lang} {lang}wcf.acp.template.group.styles{/lang}
{if $templateGroup->isImmutable()} {icon name='pencil'} {else} {icon name='pencil'} {/if} {icon name='list'} {if $templateGroup->isImmutable()} {icon name='xmark'} {else} {objectAction action="delete" objectTitle=$templateGroup->getName()} {/if} {event name='rowButtons'} {@$templateGroup->templateGroupID} {if !$templateGroup->isImmutable()} {$templateGroup->getName()} {else} {$templateGroup->getName()} {/if} {$templateGroup->templateGroupFolderName} {#$templateGroup->templates} {#$templateGroup->styles}
{else} {lang}wcf.global.noItems{/lang} {/if} {include file='footer'}