{#if loaded}
{$i18n.t('Leaderboard')}
{rankedModels.length}
{#if (rankedModels ?? []).length === 0}
{$i18n.t('No models found')}
{:else} {#each rankedModels as model (model.id)} {/each}
{$i18n.t('RK')} {$i18n.t('Model')} {$i18n.t('Rating')} {$i18n.t('Won')} {$i18n.t('Draw')} {$i18n.t('Lost')}
{model.ranking}
{model.name}
{model.name}
{model.rating} {model.stats.won} {model.stats.draw} {model.stats.lost}
{/if}
{$i18n.t('Feedback History')}
{#if (feedbacks ?? []).length === 0}
{$i18n.t('No feedbacks found')}
{:else} {#each feedbacks as feedback (feedback.id)} {/each}
{$i18n.t('Models')} {$i18n.t('Result')} {$i18n.t('User')} {$i18n.t('Created At')}
{model.name}
{model.name}
{model.rating} {model.stats.won} {model.stats.draw}
{/if}
{/if}