themes.json: Use a exercice list instead of hash
This commit is contained in:
parent
3fcf705dcf
commit
ef1eafb789
11 changed files with 82 additions and 82 deletions
|
|
@ -36,7 +36,7 @@
|
|||
<hr>
|
||||
{/if}
|
||||
{/if}
|
||||
{#if theme.exercices[exercice.id].next}
|
||||
{#if theme.exercices[exercice.id] && theme.exercices[exercice.id].next}
|
||||
<a href="{theme.urlid}/{theme.exercices[theme.exercices[exercice.id].next].urlid}" class="btn btn-success">Passer au défi suivant</a>
|
||||
{/if}
|
||||
</CardBody>
|
||||
|
|
|
|||
Reference in a new issue