mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: add school & studentId setting
This commit is contained in:
1 parent
93a8fb2ca3
commit
37760124fd
2 files changed
+3
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.5.3",
|
||||
"version": "3.5.4",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -138,6 +138,8 @@ AccountSetting(
|
||||
Setting('setting_info', 'qq', null, 'text', 'QQ'),
|
||||
Setting('setting_info', 'gender', builtin.USER_GENDER_OTHER, builtin.USER_GENDER_RANGE, 'Gender'),
|
||||
Setting('setting_info', 'bio', null, 'markdown', 'Bio'),
|
||||
Setting('setting_info', 'school', '', 'text', 'School'),
|
||||
Setting('setting_info', 'studentId', '', 'text', 'Student ID'),
|
||||
Setting('setting_customize', 'backgroundImage',
|
||||
'/components/profile/backgrounds/1.jpg', 'text', 'Profile Background Image',
|
||||
'Choose the background image in your profile page.'),
|
||||
|
||||
Reference in new issue
Block a user