feat: improve tariff builder UI

- Move promo groups from Servers tab to Extra tab
- Add isActive toggle in Extra tab (tariff status)
- Remove trial toggle from form (not needed for now)
- Replace "T" letter with gift icon for trial toggle in tariff list
- Add i18n translations for new status fields
This commit is contained in:
c0mrade
2026-02-02 04:46:00 +03:00
parent d6edb659a3
commit e19767af82
6 changed files with 105 additions and 45 deletions

View File

@@ -1318,6 +1318,11 @@
"dailyDeductionDesc": "Charged daily from user's balance",
"dailyPriceRequired": "Enter a price per day greater than 0",
"cannotSave": "Cannot save tariff:",
"statusTitle": "Tariff Status",
"isActiveLabel": "Active",
"isActiveHint": "Inactive tariffs are not shown to users",
"isTrialLabel": "Trial tariff",
"isTrialHint": "Available for free trial period",
"validation": {
"nameRequired": "Enter tariff name",
"nameLength": "Name must be 2 to 50 characters",