core&ui: add homework files & enhance delete operation (#755)

This commit is contained in:
panda authored and GitHub committed 2024-03-29 10:36:55 +08:00
1 parent 61e56adead
commit f0219116f3
12 files changed
+175 -13

No files matched your search

@@ -39,7 +39,7 @@ const page = new NamedPage(['contest_edit', 'contest_create', 'homework_create',
window.location.href = res.url;
});
}
const message = `Confirm deleting this ${pagename.split('_')[0]}? Its status will be deleted as well.`;
const message = `Confirm deleting this ${pagename.split('_')[0]}? Its files and status will be deleted as well.`;
return new ConfirmDialog({
$body: tpl.typoMsg(i18n(message)),
}).open().then((action) => {