Add page hints to admin and user plan interfaces
- Introduced page hints in the PlanContent, AdminPlansPage, and AdminRolesPage components to provide users with contextual information. - Updated i18n resource files to include new translations for page hints related to plans and roles, enhancing user experience and clarity. - Improved existing text for downgrade notices and discount tier hints for better understanding of billing implications.
This commit is contained in:
@@ -51,6 +51,7 @@ function AdminPlansPage() {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4">
|
||||
<p className="text-xs text-muted-foreground">{t('admin.plans.pageHint')}</p>
|
||||
<div className="flex justify-end">
|
||||
<PlanFormDialog />
|
||||
</div>
|
||||
|
||||
@@ -29,6 +29,7 @@ function AdminRolesPage() {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4">
|
||||
<p className="text-xs text-muted-foreground">{t('admin.roles.pageHint')}</p>
|
||||
<div className="flex justify-end">
|
||||
<RoleFormDialog />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user