diff --git a/Assets/WebsiteAssets/templates/partials/plan.mustache b/Assets/WebsiteAssets/templates/partials/plan.mustache index 5fed7dab2..209032c35 100644 --- a/Assets/WebsiteAssets/templates/partials/plan.mustache +++ b/Assets/WebsiteAssets/templates/partials/plan.mustache @@ -21,7 +21,7 @@ {{#featureLabelsOn}} -
{{title}}
+{{.}}
{{/featureLabelsOn}} {{#featureLabelsOff}} diff --git a/Assets/WebsiteAssets/templates/plans.mustache b/Assets/WebsiteAssets/templates/plans.mustache index d621b6c0c..3fa66eaac 100644 --- a/Assets/WebsiteAssets/templates/plans.mustache +++ b/Assets/WebsiteAssets/templates/plans.mustache @@ -5,9 +5,6 @@Joplin Cloud allows you to synchronise your notes across devices. It also lets you publish notes, and collaborate on notebooks with your friends, family or colleagues.
@@ -147,7 +144,7 @@ $('.feature-title').click((event) => { event.preventDefault(); const featureId = event.currentTarget.getAttribute('data-id'); - $('.feature-description-' + featureId).show(); + $('.feature-description-' + featureId).toggle(200); }); }); diff --git a/packages/lib/utils/joplinCloud.ts b/packages/lib/utils/joplinCloud.ts index 3ddfb9105..3e828fdaf 100644 --- a/packages/lib/utils/joplinCloud.ts +++ b/packages/lib/utils/joplinCloud.ts @@ -34,7 +34,7 @@ export interface Plan { iconName: string; featuresOn: FeatureId[]; featuresOff: FeatureId[]; - featureLabelsOn: any[]; + featureLabelsOn: string[]; featureLabelsOff: string[]; cfaLabel: string; cfaUrl: string; @@ -343,7 +343,7 @@ export function getPlans(stripeConfig: StripePublicConfig): Record