feat: super admin badge — earliest admin shows 超级管理员 in user list
- /api/users: mark is_super for the earliest-registered admin (matches the auto-promotion migration semantics) - AdminUsers: render 超级管理员 badge for is_super, 管理员 otherwise - i18n keys admin.user.roleSuper (zh/en) - Mobile settings nav: active tab gets top-left/top-right rounded corners only (desktop unchanged)
This commit is contained in:
1 parent
f0867935ac
commit
d757bde780
5 files changed
+17
-4
No files matched your search
+2
-1
@@ -208,7 +208,8 @@
|
||||
"you": "You",
|
||||
"cannotSelf": "You cannot edit yourself",
|
||||
"makeUser": "Make user",
|
||||
"makeAdmin": "Make admin"
|
||||
"makeAdmin": "Make admin",
|
||||
"roleSuper": "Super admin"
|
||||
},
|
||||
"log": {
|
||||
"empty": "No logs",
|
||||
|
||||
+2
-1
@@ -208,7 +208,8 @@
|
||||
"you": "你",
|
||||
"cannotSelf": "不可操作自己",
|
||||
"makeUser": "设为普通用户",
|
||||
"makeAdmin": "设为管理员"
|
||||
"makeAdmin": "设为管理员",
|
||||
"roleSuper": "超级管理员"
|
||||
},
|
||||
"log": {
|
||||
"empty": "暂无日志",
|
||||
|
||||
Reference in new issue
Block a user