refactor manage button
This commit is contained in:
parent
63e22059cf
commit
0f551af936
@ -80,11 +80,11 @@ async function showPage({ rootEl, peertubeHelpers }) {
|
||||
|
||||
${sub_plan ? `
|
||||
<p><i><b>${await translate("Your current plan")}</b>: ${sub_plan.name}, ${currency}${sub_plan.price} /${await peertubeHelpers.translate("month")}, ${sub_plan.storage} ${await peertubeHelpers.translate("GB Storage")}</i></p>
|
||||
` : ""}
|
||||
|
||||
<div>
|
||||
<a href="https://billing.stripe.com/p/login/aEUg0YcdE3ff9j2cMM" target="_blank" style="font-size: 1.25rem; background-color: #0083f5; color: white; border-radius: 0.25rem; padding: 0.5rem 0.75rem; margin-top: 0.5rem;">Manage Subcription</a>
|
||||
<a href="https://billing.stripe.com/p/login/aEUg0YcdE3ff9j2cMM" target="_blank" style="font-size: 1.25rem; background-color: #0083f5; color: white; border-radius: 0.25rem; padding: 0.5rem 0.75rem; margin-top: 1.25rem;">Manage Subcription</a>
|
||||
<div>
|
||||
` : ""}
|
||||
|
||||
</div>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user