{layout @admin.html} {block content}

{_'templates'}

{_'new_template'}
{if $templates} {foreach $templates as $template} {var $confirm = ('confirm_delete_template'|translate:$template->name)} {/foreach}
{_'name'} {_'created_at'} {_'updated_at'}
{$template->name} {$template->created_at|formatDate:'medium'} {$template->updated_at|formatDate:'medium'} {_'update'}{_'remove_template'}
{include 'pagination/ink.html', url: BASE_URL . 'template/list?page=%d'} {/if}

{_'last_modified_templates'}


    {foreach models\Template::findLastModifiedTemplates() as $template}
  • #{$template->template_id} {$template->name} ({$template->updated_at|formatDate:'medium'})
  • {/foreach}

{_'last_created_templates'}


    {foreach models\Template::findLastCreatedTemplates() as $template}
  • #{$template->template_id} {$template->name} ({$template->created_at|formatDate:'medium'})
  • {/foreach}
{/block}