{* Latte template *}

{block content}
<div class="stenata">
<h1>Archiv vrhů:</h1>
<table>
        <tr><th>Chovatelská stanice</th><th>Spojení</th><th>Datum vrhu</th><th class="pocstenat">Počet štěňat (psi + fenky)</th><th>Kontakt</th></tr>
        {foreach $archivni as $akt}
            <tr><td>{if $akt->www !=null}<a href="http://{$akt->www}">{$akt->stanice}</a> {else} {$akt->stanice} {/if}</td>
                <td>{$akt->otec}<br>{$akt->matka}</td><td>{$akt->datum_vrhu}</td><td>{$akt->pocet_stenat}</td>
                <td>{$akt->kontakt|noescape}</td>
                <td class="noborder"><a n:href="Stenata:editAktualni $akt->id">Upravit</a></td><td class="noborder"><a n:href="deleteVrh! $akt->id">Smazat</a></td>
            </tr>
        {/foreach}
</table>
</div>
{/block}

{block breadcrumb}
&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi  &nbsp;&nbsp; > &nbsp;&nbsp; <a n:href="Stenata:list">Štěňata </a> &nbsp;&nbsp; > &nbsp;&nbsp; Archiv 
{/block}