mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-25 12:17:26 +02:00
⏪️ Show plan in user nav item
This commit is contained in:
parent
9be12f28d9
commit
e94eed373d
2 changed files with 6 additions and 1 deletions
|
@ -126,6 +126,7 @@
|
||||||
"createdTime": "Created {relativeTime}",
|
"createdTime": "Created {relativeTime}",
|
||||||
"permissionDeniedParticipant": "If you are not the poll creator, you should go to the Invite Page.",
|
"permissionDeniedParticipant": "If you are not the poll creator, you should go to the Invite Page.",
|
||||||
"goToInvite": "Go to Invite Page",
|
"goToInvite": "Go to Invite Page",
|
||||||
|
"planFree": "Free",
|
||||||
"planPro": "Pro",
|
"planPro": "Pro",
|
||||||
"Billing": "Billing",
|
"Billing": "Billing",
|
||||||
"becomeATranslator": "Help translate",
|
"becomeATranslator": "Help translate",
|
||||||
|
|
|
@ -121,7 +121,11 @@ export async function SpaceSidebar({
|
||||||
name={user.name}
|
name={user.name}
|
||||||
image={user.image}
|
image={user.image}
|
||||||
plan={
|
plan={
|
||||||
<span className="capitalize">{activeSpace.role.toLowerCase()}</span>
|
user.isPro ? (
|
||||||
|
<Trans i18nKey="planPro" defaults="Pro" />
|
||||||
|
) : (
|
||||||
|
<Trans i18nKey="planFree" defaults="Free" />
|
||||||
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</SidebarFooter>
|
</SidebarFooter>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue