feat: add admin updates page with release history

Shows bot and cabinet releases with version badges,
changelogs, and update detection via __APP_VERSION__.
This commit is contained in:
Fringg
2026-02-08 23:20:49 +03:00
parent ab0270ac58
commit a15b3d4101
8 changed files with 428 additions and 9 deletions

View File

@@ -762,7 +762,8 @@
"promoOffers": "Promo Offers",
"promocodes": "Promo Codes",
"promoGroups": "Discount Groups",
"trafficUsage": "Traffic Usage"
"trafficUsage": "Traffic Usage",
"updates": "Updates"
},
"panel": {
"title": "Admin Panel",
@@ -785,7 +786,8 @@
"promoOffersDesc": "Personal discounts",
"promocodesDesc": "Manage promo codes",
"promoGroupsDesc": "Discount groups for users",
"trafficUsageDesc": "Per-user traffic by nodes"
"trafficUsageDesc": "Per-user traffic by nodes",
"updatesDesc": "Bot & cabinet versions"
},
"trafficUsage": {
"title": "Traffic Usage",
@@ -2113,6 +2115,19 @@
}
}
},
"adminUpdates": {
"title": "Updates",
"subtitle": "Bot and cabinet release history",
"bot": "Bot",
"cabinet": "Cabinet",
"currentVersion": "Current version",
"upToDate": "Up to date",
"updateAvailable": "Update available",
"published": "Published",
"prerelease": "Pre-release",
"refresh": "Check for updates",
"noReleases": "No release data"
},
"adminDashboard": {
"title": "Statistics Dashboard",
"subtitle": "Real-time system overview",