{#each Object.keys(theme.exercices) as k, index} {#if k == exercice.id} {theme.exercices[k].title} {#if theme.exercices[k].curcoeff > 1.0} {:else if $my && $my.exercices[k]} {theme.exercices[k].title} {#if theme.exercices[k].curcoeff > 1.0} {:else} {theme.exercices[k].title} {#if theme.exercices[k].curcoeff > 1.0} {/if} {/each}