From 6a168a4b83b47ba3d5cf43274d634822f2d49e94 Mon Sep 17 00:00:00 2001 From: matty Date: Tue, 2 Apr 2024 15:58:58 -0400 Subject: [PATCH] refactor shit --- client/pages/subscription.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/pages/subscription.js b/client/pages/subscription.js index 930c4d1..bf9894c 100644 --- a/client/pages/subscription.js +++ b/client/pages/subscription.js @@ -44,9 +44,9 @@ async function showPage({ rootEl, peertubeHelpers }) { rootEl.innerHTML = `
-

To subscribe to a storage plan with cryptocurrency (BTC, ETC, XMR) or cancel/update your subscription tier, contact us.

-

${await peertubeHelpers.translate("Choose your Storage Plan")}

-

${description.length ? description : await peertubeHelpers.translate("You want tu spport us ? Or need more space ? Your in the right place!")}

+

${await peertubeHelpers.translate("Choose your Storage Plan")}

+

To subscribe to a storage plan with cryptocurrency (BTC, ETH, XMR) or cancel/update your subscription tier, contact us.

+
${(await Promise.all(plans.map(async (plan) => @@ -68,12 +68,14 @@ async function showPage({ rootEl, peertubeHelpers }) {
+ ${session_id ? `
+ ` : ""} ${sub_plan ? `