diff --git a/services/web/frontend/js/features/project-list/components/current-plan-widget/commons-plan.tsx b/services/web/frontend/js/features/project-list/components/current-plan-widget/commons-plan.tsx index e687c8a362..ca4cb55b64 100644 --- a/services/web/frontend/js/features/project-list/components/current-plan-widget/commons-plan.tsx +++ b/services/web/frontend/js/features/project-list/components/current-plan-widget/commons-plan.tsx @@ -15,7 +15,10 @@ function CommonsPlan({ }: CommonsPlanProps) { const { t } = useTranslation() const currentPlanLabel = ( - }} /> + }} + /> ) return ( diff --git a/services/web/frontend/js/features/project-list/components/current-plan-widget/free-plan.tsx b/services/web/frontend/js/features/project-list/components/current-plan-widget/free-plan.tsx index fe3fb18125..feffb68598 100644 --- a/services/web/frontend/js/features/project-list/components/current-plan-widget/free-plan.tsx +++ b/services/web/frontend/js/features/project-list/components/current-plan-widget/free-plan.tsx @@ -10,7 +10,10 @@ type FreePlanProps = Pick function FreePlan({ featuresPageURL }: FreePlanProps) { const { t } = useTranslation() const currentPlanLabel = ( - }} /> + }} + /> ) const handleClick = () => { diff --git a/services/web/frontend/js/features/project-list/components/current-plan-widget/group-plan.tsx b/services/web/frontend/js/features/project-list/components/current-plan-widget/group-plan.tsx index 235c34ba15..16596c5929 100644 --- a/services/web/frontend/js/features/project-list/components/current-plan-widget/group-plan.tsx +++ b/services/web/frontend/js/features/project-list/components/current-plan-widget/group-plan.tsx @@ -15,21 +15,25 @@ function GroupPlan({ remainingTrialDays, }: GroupPlanProps) { const { t } = useTranslation() + const planNameComponent = const currentPlanLabel = remainingTrialDays >= 0 ? ( remainingTrialDays === 1 ? ( - }} /> + ) : ( }} + components={{ b: planNameComponent }} values={{ days: remainingTrialDays }} shouldUnescape tOptions={{ interpolation: { escapeValue: true } }} /> ) ) : ( - }} /> + ) return ( diff --git a/services/web/frontend/js/features/project-list/components/current-plan-widget/individual-plan.tsx b/services/web/frontend/js/features/project-list/components/current-plan-widget/individual-plan.tsx index f0870ac12a..e4723cf718 100644 --- a/services/web/frontend/js/features/project-list/components/current-plan-widget/individual-plan.tsx +++ b/services/web/frontend/js/features/project-list/components/current-plan-widget/individual-plan.tsx @@ -14,21 +14,25 @@ function IndividualPlan({ remainingTrialDays, }: IndividualPlanProps) { const { t } = useTranslation() + const planNameComponent = const currentPlanLabel = remainingTrialDays >= 0 ? ( remainingTrialDays === 1 ? ( - }} /> + ) : ( }} + components={{ b: planNameComponent }} values={{ days: remainingTrialDays }} shouldUnescape tOptions={{ interpolation: { escapeValue: true } }} /> ) ) : ( - }} /> + ) return ( diff --git a/services/web/frontend/js/features/project-list/components/current-plan-widget/paused-plan.tsx b/services/web/frontend/js/features/project-list/components/current-plan-widget/paused-plan.tsx index a501731b18..f282800c61 100644 --- a/services/web/frontend/js/features/project-list/components/current-plan-widget/paused-plan.tsx +++ b/services/web/frontend/js/features/project-list/components/current-plan-widget/paused-plan.tsx @@ -13,7 +13,7 @@ function PausedPlan({ subscriptionPageUrl }: PausedPlanProps) { i18nKey="your_premium_plan_is_paused" components={[ // eslint-disable-next-line react/jsx-key - , + , ]} /> ) diff --git a/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx b/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx index 2aaed364a7..eba033ea76 100644 --- a/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx +++ b/services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx @@ -154,7 +154,7 @@ function SidebarDsNav() { )} -
+
Digital Science
diff --git a/services/web/frontend/js/features/project-list/components/sidebar/tags-list.tsx b/services/web/frontend/js/features/project-list/components/sidebar/tags-list.tsx index 452b003b2b..1c6298603c 100644 --- a/services/web/frontend/js/features/project-list/components/sidebar/tags-list.tsx +++ b/services/web/frontend/js/features/project-list/components/sidebar/tags-list.tsx @@ -57,6 +57,7 @@ export default function TagsList() {