{#await getPromos() then promos}
{/await}

Étudiants {#if promo !== null}{promo}{/if} Notes

{#await getSurveys()}
Chargement des questionnaires corrigés…
{:then surveys} {#await getGrades()}
Chargement des notes…
{:then grades}
{#each surveys as survey (survey.id)} {#if survey.corrected && (promo === null || survey.promo == promo)} {/if} {/each} {#await getUsers()} {:then users} {#each users as user (user.id)} {#if promo === null || user.promo === promo} {#each surveys as survey (survey.id)} {#if survey.corrected && (promo === null || survey.promo == promo)} {/if} {/each} {/if} {/each} {/await}
ID Login{survey.title}
Chargement des étudiants…
{user.id} {user.login}{grades[user.id] && grades[user.id][survey.id]?grades[user.id][survey.id]:""}
{/await} {/await}