btcpayserver/BTCPayServer/Views/UIInvoice/CheckoutNoScript.cshtml

47 lines
1.3 KiB
Text
Raw Normal View History

2024-10-07 19:58:08 +09:00
@model CheckoutModel
2019-03-31 13:46:38 -05:00
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<META NAME="robots" CONTENT="noindex,nofollow">
<title>@Model.HtmlTitle</title>
</head>
<body>
2019-04-04 21:48:52 -05:00
<h1>Pay with @Model.StoreName</h1>
@if (Model.Status == "new")
{
<h1 class="text-danger" text-translate="true">This payment method requires javascript.</h1>
2019-04-04 21:48:52 -05:00
}
else if (Model.Status == "paid" || Model.Status == "complete" || Model.Status == "confirmed")
{
<div>
<p text-translate="true">This invoice has been paid</p>
2019-04-04 21:48:52 -05:00
</div>
}
else if (Model.Status == "expired" || Model.Status == "invalid")
{
<div>
<p text-translate="true">This invoice has expired</p>
2019-04-04 21:48:52 -05:00
</div>
}
else
{
<div>
<p text-translate="true">Non-supported state of invoice</p>
2019-04-04 21:48:52 -05:00
</div>
}
2019-03-31 13:46:38 -05:00
2019-04-04 21:48:52 -05:00
<hr />
<p>
<a asp-action="Checkout" asp-route-invoiceId="@Model.InvoiceId" text-translate="true">Go back to Javascript enabled invoice</a>
2019-04-04 21:48:52 -05:00
</p>
@await Component.InvokeAsync("UiExtensionPoint", new { location = "checkout-noscript-end", model = Model })
2019-03-31 13:46:38 -05:00
</body>
</html>