Transaction page tweaks

This commit is contained in:
2021-11-30 22:22:04 +01:00
parent 8b466dc586
commit 5ca496512f

View File

@@ -128,9 +128,16 @@ onMount(() => {
<h2>Deposit Bitcoin</h2> <h2>Deposit Bitcoin</h2>
<p> <p>
You can deposit credit on your pixeldrain account with Bitcoin. We You can deposit credit on your pixeldrain account with Bitcoin. We
support regular Bitcoin transactions and Lightning transactions. You support regular Bitcoin transactions and Lightning transactions (if
must pay the full amount as stated on the invoice, else your payment you open a
will fail. <a href="https://btcpay.pixeldrain.com/embed/uS2mbWjXUuaAqMh8XLjkjwi8oehFuxeBZxekMxv68LN/BTC/ln" target="_blank">channel</a>
). You must pay the full amount as stated on the invoice, else your
payment will fail.
</p>
<p>
Do note that it is not possible to withdraw Bitcoin from your
pixeldrain account. It's not a wallet. Any amount of money you
deposit has to be used up.
</p> </p>
<div class="indent" style="text-align: center;"> <div class="indent" style="text-align: center;">
<img src="/res/img/btcpay.svg" alt="BTCPay server logo"/> <img src="/res/img/btcpay.svg" alt="BTCPay server logo"/>
@@ -157,12 +164,12 @@ onMount(() => {
</thead> </thead>
<tbody> <tbody>
{#each invoices as row (row.id)} {#each invoices as row (row.id)}
{#if row.status === "New" || row.status === "InvoiceCreated" || show_expired} {#if row.status === "InvoiceCreated" || row.status === "InvoiceProcessing" || show_expired}
<tr> <tr>
<td>{formatDate(row.time, true, true, false)}</td> <td>{formatDate(row.time, true, true, false)}</td>
<td><Euro amount={row.amount}></Euro></td> <td><Euro amount={row.amount}></Euro></td>
<td> <td>
{#if row.status === "New" || row.status === "InvoiceCreated"} {#if row.status === "InvoiceCreated"}
New (waiting for payment) New (waiting for payment)
{:else if row.status === "InvoiceProcessing"} {:else if row.status === "InvoiceProcessing"}
Payment received, waiting for confirmations Payment received, waiting for confirmations