Enhance PaidUntilBadge and UserManageDialog to display billing date
CI / Backend (build + test) (push) Successful in 1m18s
CI / Frontend (lint + typecheck + build) (push) Successful in 31s

- Updated the PaidUntilBadge component to accept a new `showDate` prop, allowing it to display the billing date alongside the remaining days.
- Modified UserManageDialog and admin user management components to utilize the updated PaidUntilBadge, improving context for billing information.
- Added internationalization support for the new date format in both English and Russian.
This commit is contained in:
Leonid Pershin
2026-07-19 05:57:13 +03:00
parent 1c13695556
commit 6a2d2d2318
4 changed files with 27 additions and 7 deletions
+2
View File
@@ -116,6 +116,7 @@ const resources = {
minutesRemaining: '{{count}} мин',
pendingReviewShort: 'На проверке',
pendingReviewHint: 'Оплата отправлена на проверку администратору — доступ не будет приостановлен, пока заявка не решена.',
paidUntilWithRemaining: 'до {{date}} ({{remaining}})',
newRequest: 'Оформить оплату',
period: 'Период',
periods: {
@@ -642,6 +643,7 @@ const resources = {
minutesRemaining: '{{count}}m',
pendingReviewShort: 'Under review',
pendingReviewHint: 'Payment sent for admin review — access will not be suspended until the request is decided.',
paidUntilWithRemaining: 'until {{date}} ({{remaining}})',
newRequest: 'Set up payment',
period: 'Period',
periods: {