Fixed get_name_url in public/layout.tpl
This commit is contained in:
parent
9140af0840
commit
d442b1d3b3
@ -3,6 +3,7 @@
|
|||||||
{block name=head}
|
{block name=head}
|
||||||
<link href="/css/home.css" rel="stylesheet">
|
<link href="/css/home.css" rel="stylesheet">
|
||||||
<link href="/css/score.css" rel="stylesheet">
|
<link href="/css/score.css" rel="stylesheet">
|
||||||
|
{block name=head2}{/block}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name=content}
|
{block name=content}
|
||||||
@ -21,12 +22,13 @@
|
|||||||
<h3>Top 10</h3>
|
<h3>Top 10</h3>
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
{foreach from=$top item=t key=k}
|
{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">
|
<span class="badge">
|
||||||
{$t->get_pts()}
|
{$t->get_pts()}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
<div class="list-group-item"> {link href="classement" href_prefix="/" label="Classement general"}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user