refactor: extract promo offers modals to separate pages

- Create AdminPromoOfferTemplateEdit.tsx for template editing
- Create AdminPromoOfferSend.tsx for sending offers with result screen
- Add routes for /admin/promo-offers/templates/:id/edit and /admin/promo-offers/send
- Simplify AdminPromoOffers.tsx by removing modals
- Add i18n keys for new pages
This commit is contained in:
c0mrade
2026-02-02 06:14:15 +03:00
parent 2920ca45e8
commit f73579b37f
8 changed files with 710 additions and 608 deletions

View File

@@ -1620,6 +1620,10 @@
"notificationsFailed": "(失败: {{count}}",
"sendError": "发送优惠失败"
},
"notFound": "未找到模板",
"noActiveTemplates": "没有活跃的模板",
"backToList": "返回优惠列表",
"sendAnother": "再发送一个",
"actions": {
"created": "已创建",
"claimed": "已领取",