Code cleaned
This commit is contained in:
parent
f7f277d46b
commit
2d77512cdc
13 changed files with 58 additions and 63 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<div class="jumbotron">
|
||||
<h3 style="font-variant: small-caps">{$cur_theme->get_name()}</h3>
|
||||
<p>
|
||||
{foreach from=$cur_theme->get_exercicesOrdered() item=exercice}
|
||||
{foreach from=$cur_theme->get_exercices_ordered() item=exercice}
|
||||
{if $exercice->has_solved($my_team)}
|
||||
<a class="btn btn-success" role="button" href="/{$SALT_USER}/{$my_team->get_id()}/{$cur_theme->get_id()}-{$cur_theme->get_name()}/{$exercice->get_id()}">{$exercice->get_name()}</a>
|
||||
{elseif $exercice->is_unlocked($my_team)}
|
||||
|
|
|
|||
Reference in a new issue