ui: enhanced contest management page (#476)

This commit is contained in:
undefined authored and GitHub committed 2022-12-31 20:04:46 +08:00
1 parent d4cc5e9c5b
commit ee1cfd8fe5
14 files changed
+173 -109

No files matched your search

@@ -65,7 +65,7 @@ const page = new NamedPage('contest_user', () => {
});
if (res.url && res.url !== window.location.href) window.location.href = res.url;
else {
Notification.success(i18n('User has been added.'));
Notification.success(i18n('User added.'));
pjax.request({ push: false });
}
} catch (error) {
@@ -82,7 +82,7 @@ const page = new NamedPage('contest_user', () => {
});
if (res.url && res.url !== window.location.href) window.location.href = res.url;
else {
Notification.success(i18n('User Rank has been edited.'));
Notification.success(i18n('Ranking status updated.'));
pjax.request({ push: false });
}
} catch (error) {