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

@@ -1828,6 +1828,10 @@
"notificationsFailed": "(failed: {{count}})",
"sendError": "Failed to send offer"
},
"notFound": "Template not found",
"noActiveTemplates": "No active templates",
"backToList": "Back to offers",
"sendAnother": "Send another",
"actions": {
"created": "Created",
"claimed": "Claimed",