mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-24 03:37:23 +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}",
|
||||
"permissionDeniedParticipant": "If you are not the poll creator, you should go to the Invite Page.",
|
||||
"goToInvite": "Go to Invite Page",
|
||||
"planFree": "Free",
|
||||
"planPro": "Pro",
|
||||
"Billing": "Billing",
|
||||
"becomeATranslator": "Help translate",
|
||||
|
|
|
@ -121,7 +121,11 @@ export async function SpaceSidebar({
|
|||
name={user.name}
|
||||
image={user.image}
|
||||
plan={
|
||||
<span className="capitalize">{activeSpace.role.toLowerCase()}</span>
|
||||
user.isPro ? (
|
||||
<Trans i18nKey="planPro" defaults="Pro" />
|
||||
) : (
|
||||
<Trans i18nKey="planFree" defaults="Free" />
|
||||
)
|
||||
}
|
||||
/>
|
||||
</SidebarFooter>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue