refactor
This commit is contained in:
parent
18ead8b027
commit
5107f68d4c
@ -44,6 +44,7 @@ async function showPage({ rootEl, peertubeHelpers }) {
|
|||||||
|
|
||||||
rootEl.innerHTML = `
|
rootEl.innerHTML = `
|
||||||
<div class="ncd-content text-center">
|
<div class="ncd-content text-center">
|
||||||
|
<h4><i>To subscribe to a storage plan with cryptocurrency (BTC, ETC, XMR) or cancel/update your subscription tier, <a href="/about/contact">contact us</a>.</i></h4>
|
||||||
<h1>${await peertubeHelpers.translate("Choose your Storage Plan")}</h1>
|
<h1>${await peertubeHelpers.translate("Choose your Storage Plan")}</h1>
|
||||||
<p>${description.length ? description : await peertubeHelpers.translate("You want tu spport us ? Or need more space ? Your in the right place!")}</p>
|
<p>${description.length ? description : await peertubeHelpers.translate("You want tu spport us ? Or need more space ? Your in the right place!")}</p>
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
@ -65,17 +66,13 @@ async function showPage({ rootEl, peertubeHelpers }) {
|
|||||||
</div>
|
</div>
|
||||||
`))).join("")}
|
`))).join("")}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4><i>NCTV also offers cryptocurrency subscriptions for media storage. Contact Matty on <a href="https://nicecrew.digital/@matty" target="_blank">NCD</a>, <a href="https://matrix.to/#/@matty:chat.nicecrew.digital" target="_blank">Matrix</a>, or via <a href="mailto:matty@nicecrew.digital">email</a>.</i></h4>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
<form method="POST" action="#" id="formManageSub">
|
<form method="POST" action="#" id="formManageSub">
|
||||||
<input type="hidden" id="session-id" name="session_id" value="${session_id}" />
|
<input type="hidden" id="session-id" name="session_id" value="${session_id}" />
|
||||||
<button id="checkout-and-portal-button" type="submit" class="btn btn-primary">${await translate("Manage my Subscription")}</button>
|
<button id="checkout-and-portal-button" type="submit" class="btn btn-primary">${await translate("Manage my Subscription")}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user