});
worksheet.columns = [
{ header: i18n.t('results.runner'), width: 15 },
- { header: i18n.t('results.forfeit'), width: 12 },
{ header: i18n.t('results.reportTime'), width: 10 },
+ { header: i18n.t('results.forfeitShort'), width: 5 },
+ { header: i18n.t('results.disqualifiedShort'), width: 5 },
{ header: i18n.t('results.placement'), width: 12 },
{ header: i18n.t('results.score'), width: 8 },
{ header: i18n.t('results.comment'), width: 20 },
{ header: i18n.t('general.created_at'), width: 18 },
{ header: i18n.t('results.gotSeedAt'), width: 18 },
{ header: i18n.t('general.difference'), width: 10 },
+ { header: i18n.t('results.verified_at'), width: 18 },
+ { header: i18n.t('results.verified_by'), width: 15 },
];
round.results.forEach((result) => {
worksheet.addRow([
User.getUserName(result.user),
- result.forfeit ? 'x' : '-',
Result.formatTime(result),
+ result.forfeit ? 'x' : '-',
+ result.disqualified ? 'x' : '-',
result.placement,
result.score,
result.comment || '',
result.got_seed_at
? Result.formatTime({ time: moment(result.created_at).diff(result.got_seed_at, 'seconds') })
: '—',
+ result.verified_at ? moment(result.verified_at).format('L LT') : '—',
+ result.verified_by ? User.getUserName(result.verified_by) : '—',
]);
});
});
unverifySuccess: 'Verifikation entzogen',
verification: 'Verifikation',
verificationPending: 'Noch nicht verifiziert',
+ verified_at: 'Verifiziert am',
+ verified_by: 'Verifiziert durch',
verifiedAt: 'Verifiziert am {{ date, L }}',
verifiedAtBy: 'Verifiziert am {{ date, L }} durch <1 />',
verifyButton: 'Ergebnis verifizieren',
unverifySuccess: 'Verification revoked',
verification: 'Verification',
verificationPending: 'Pending verification',
+ verified_at: 'Verified on',
+ verified_by: 'Verified by',
verifiedAt: 'Verified on {{ date, L }}',
verifiedAtBy: 'Verified on {{ date, L }} by <1 />',
verifyButton: 'Verify result',