mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: enhanced contest management page (#476)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user