15 lines
575 B
Smarty
15 lines
575 B
Smarty
|
{extends file="teams/layout.tpl"}
|
||
|
|
||
|
{block name=content}
|
||
|
<div class="jumbotron">
|
||
|
<h3 style="font-variant: small-caps">{$cur_theme->get_name()}</h3>
|
||
|
<p>
|
||
|
{foreach from=$cur_theme->get_exercicesOrdered() item=exercice}
|
||
|
<a class="btn btn-{if $exercice->has_solved($my_team)}success{elseif $exercice->is_unlocked($my_team)}primary{else}danger{/if}" role="button" href="/{$SALT_USER}/{$my_team->get_id()}/{$cur_theme->get_id()}-{$cur_theme->get_name()}/{$exercice->get_id()}">{$exercice->get_name()}</a>
|
||
|
{/foreach}
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
{block name=exercices}{/block}
|
||
|
{/block}
|