Fixed get_name_url in public/layout.tpl

This commit is contained in:
nemunaire 2014-01-11 17:06:50 +01:00
parent 9140af0840
commit d442b1d3b3

View File

@ -3,6 +3,7 @@
{block name=head}
<link href="/css/home.css" rel="stylesheet">
<link href="/css/score.css" rel="stylesheet">
{block name=head2}{/block}
{/block}
{block name=content}
@ -21,12 +22,13 @@
<h3>Top 10</h3>
<div class="list-group">
{foreach from=$top item=t key=k}
<div class="list-group-item">{$k+1}. {link href="{$t->id}-{$t->get_name()}" href_prefix="/" label=$t->get_name()}
<div class="list-group-item">{$k+1}. {link href="{$t->id}-{$t->get_name_url()}" href_prefix="/" label=$t->get_name()}
<span class="badge">
{$t->get_pts()}
</span>
</div>
{/foreach}
<div class="list-group-item">&nbsp;&nbsp;&nbsp;&nbsp;{link href="classement" href_prefix="/" label="Classement general"}</div>
</div>
</div>