{#await getSurveys()} {:then surveys} {#each surveys as survey, sid (survey.id)} {#if allPromos || survey.promo === student.promo} goto(`users/${student.id}/surveys/${survey.id}`)}> {#await getUserGrade(student.id, survey)} {:then gr} {/await} {#await getUserScore(student.id, survey)} {:then score} {/await} {/if} {/each} {/await}
ID Titre Promo Avancement Note
Chargement des questionnaires…
{survey.id} {survey.title} {survey.promo}
{gr.avancement * 100} %
{score.score}{#if score.score >= 0}/20{/if}