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

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

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