- Introduced layout components for multiple admin dashboard sections including events, audit logs, bank accounts, blog articles, bookings, chat oversight, cities, contact messages, dashboard, discount codes, event categories, guest lists, identity verifications, manage events, manual notifications, notification rules, payments, provinces, push deliveries, reviews, settlements, sms messages, support tickets, user reports, and users. - Updated metadata for the auth layout to include the admin page title. - Modified branch protection documentation to clarify deployment notifications.
38 lines
1.5 KiB
TypeScript
38 lines
1.5 KiB
TypeScript
/**
|
|
* Browser tab titles for admin routes — keep in sync with `config/site.tsx` menu labels.
|
|
*/
|
|
export const ADMIN_PAGE_TITLES = {
|
|
auth: 'لاگین',
|
|
dashboard: 'پیشخوان',
|
|
users: 'کاربران',
|
|
userDetail: 'جزئیات کاربر',
|
|
manageEvents: 'رویدادها',
|
|
manageEventNew: 'رویداد جدید',
|
|
manageEventDetail: 'جزئیات رویداد',
|
|
manageEventEdit: 'ویرایش رویداد',
|
|
discountCodes: 'کد تخفیف',
|
|
payments: 'پرداختها',
|
|
walletDeposits: 'واریزهای کیف پول',
|
|
bookings: 'رزروها',
|
|
settlements: 'تسویهها',
|
|
withdrawalRequests: 'درخواستهای برداشت',
|
|
bankAccounts: 'حسابهای بانکی',
|
|
eventCategories: 'دستهبندیها',
|
|
blogArticles: 'مقالات وبلاگ',
|
|
guestLists: 'لیستهای مهمان',
|
|
reviews: 'نظرات',
|
|
cities: 'شهرها',
|
|
provinces: 'استانها',
|
|
identityVerifications: 'احراز هویت میزبان',
|
|
notifications: 'اعلانها',
|
|
userReports: 'گزارشهای کاربران',
|
|
contactMessages: 'پیامهای تماس',
|
|
supportTickets: 'تیکتهای پشتیبانی',
|
|
supportTicketDetail: 'جزئیات تیکت',
|
|
chatOversight: 'نظارت بر گفتگوها',
|
|
chatOversightDetail: 'جزئیات گفتگو',
|
|
auditLogs: 'گزارش فعالیتهای ادمین',
|
|
} as const
|
|
|
|
export type AdminPageTitleKey = keyof typeof ADMIN_PAGE_TITLES
|