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

@@ -2339,6 +2339,10 @@
"notificationsFailed": "(не доставлено: {{count}})",
"sendError": "Не удалось отправить предложение"
},
"notFound": "Шаблон не найден",
"noActiveTemplates": "Нет активных шаблонов",
"backToList": "К списку предложений",
"sendAnother": "Отправить еще",
"actions": {
"created": "Создано",
"claimed": "Активировано",