25 lines
522 B
Smarty
25 lines
522 B
Smarty
|
{extends file="teams/layout.tpl"}
|
||
|
|
||
|
{block name=content}
|
||
|
<table class="table table-striped table-hover">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>#</th>
|
||
|
<th>Team</th>
|
||
|
<th>Slogan</th>
|
||
|
<th>Points</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{foreach from=$rank item=t key=k}
|
||
|
<tr{if $t->id == $my_team->id} class="active" style="font-weight: bold"{/if}>
|
||
|
<th>{$t->get_rank()}</th>
|
||
|
<td>{$t->get_name()}</td>
|
||
|
<td>{$t->slogan}</td>
|
||
|
<td>{$t->get_pts()}</td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{/block}
|