{extends file='empty.tpl'} {block name="content"}
{t}Reset{/t}
{t}Add{/t}
{foreach $result.items as $item} {foreachelse} {/foreach}
{table_ordered_th url="{$request->current_url}" order="date" text="{t}Date{/t}" search=$search} {table_ordered_th url="{$request->current_url}" order="name" text="{t}Name{/t}" search=$search} {t}Actions{/t}
{format_time time=$item.date} {$item.name} {item_status item=$item} {t}View{/t} {t}View{/t} {if can_modify($item)} {t}Modify{/t}{/if} {if can_archive($item)} {t}Archive{/t}{/if} {if can_delete($item)} {t}Delete{/t}{/if}
{t}No item found.{/t}
{if $result.count>1}
{t count=$result.count 1=$result.first 2=$result.last 3=$result.count plural="Elements %1 to %2 on %3"}%3 element{/t}
{/if} {if $result.nb_pages > 1}
{/if}
{/block}