mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: better acm scoreboard display
This commit is contained in:
1 parent
564b603fe9
commit
32b36a6a4b
7 files changed
+10
-10
No files matched your search
@@ -648,7 +648,7 @@ Size: 크기
|
||||
Solutions Liked: 연결된 해설
|
||||
Solutions: 해설
|
||||
Solve: 해결
|
||||
Solved Problems: 해결한 문제
|
||||
Solved: 해결한 문제
|
||||
Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다.
|
||||
Sorry, there is no training plan.: 학습 계획 없음
|
||||
Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.2.7",
|
||||
"version": "3.2.8",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -74,7 +74,7 @@ const acm: ContestRule = {
|
||||
const columns: ScoreboardRow = [
|
||||
{ type: 'rank', value: _('Rank') },
|
||||
{ type: 'user', value: _('User') },
|
||||
{ type: 'solved_problems', value: _('Solved Problems') },
|
||||
{ type: 'solved_problems', value: _('Solved') },
|
||||
];
|
||||
if (isExport) {
|
||||
columns.push(
|
||||
@@ -140,7 +140,7 @@ const acm: ContestRule = {
|
||||
const doc = tsddict[pid] || {};
|
||||
const accept = doc.status === STATUS.STATUS_ACCEPTED;
|
||||
const rid = accept ? doc.rid : null;
|
||||
const colAccepted = `${accept ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`;
|
||||
const colAccepted = `${(accept && isExport) ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`;
|
||||
const colTime = accept ? doc.time : '-';
|
||||
const colTimeStr = accept ? misc.formatSeconds(colTime) : '-';
|
||||
if (isExport) {
|
||||
|
||||
Reference in new issue
Block a user