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:
lezi-fun committed 2026-08-11 20:40:02 +08:00
1 parent f0867935ac
commit d757bde780
5 files changed
+17 -4

No files matched your search

+2 -1
View File
@@ -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
View File
@@ -208,7 +208,8 @@
"you": "你",
"cannotSelf": "不可操作自己",
"makeUser": "设为普通用户",
"makeAdmin": "设为管理员"
"makeAdmin": "设为管理员",
"roleSuper": "超级管理员"
},
"log": {
"empty": "暂无日志",