diff --git a/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Configure.cshtml b/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Configure.cshtml index 7f0523c..138f1fb 100644 --- a/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Configure.cshtml +++ b/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Configure.cshtml @@ -4,7 +4,7 @@ @model BTCPayServer.Plugins.BreezSpark.BreezSparkSettings? @inject BreezSparkService BreezService @{ - ViewData.SetActivePage("Breez", "Configure", "Configure"); + ViewData.SetActivePage("BreezSpark", "Configure", "Configure"); var storeId = Context.GetCurrentStoreId(); var active = (await BreezService.Get(storeId)) is not null; } diff --git a/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Info.cshtml b/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Info.cshtml index 8fbce12..32d8c25 100644 --- a/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Info.cshtml +++ b/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Info.cshtml @@ -15,7 +15,7 @@ @inject TransactionLinkProviders TransactionLinkProviders @inject PaymentMethodHandlerDictionary PaymentMethodHandlerDictionary @{ - ViewData.SetActivePage("Breez", "Info", "Info"); + ViewData.SetActivePage("BreezSpark", "Info", "Info"); string storeId = Model switch { string s => s, @@ -29,7 +29,7 @@
- Breez Lightning Node is connected and operational. + BreezSpark Lightning Node is connected and operational. This is a simplified view for SDK v0.4.1 compatibility.
@@ -57,7 +57,7 @@Unable to fetch Breez node information: @ex.Message
+Unable to fetch BreezSpark node information: @ex.Message
This may be due to SDK v0.4.1 compatibility changes.
Breez node information not available
+BreezSpark node information not available
@if (string.IsNullOrEmpty(storeId)) { - Configure Breez + Configure BreezSpark }+ There are no recent payments. +
+ } + else + { +| Id | +Timestamp | +Type | +Amount | +Fee | +Status | +Description | +
|---|---|---|---|---|---|---|
| + + @payment.Id + + | ++ @DateTimeOffset.FromUnixTimeSeconds((long)payment.Timestamp).ToTimeAgo() ?? "Unknown" + | ++ @(payment.PaymentType == PaymentType.Receive ? "receive" : "send") + | ++ @payment.Amount.ToDecimal(LightMoneyUnit.BTC) BTC + | ++ @payment.Fee.ToDecimal(LightMoneyUnit.BTC) BTC + | ++ @payment.Status.ToString().ToLowerInvariant() + | ++ @payment.Description + | + +
+ Breez Lightning Node is connected and operational. + This is a simplified view for SDK v0.4.1 compatibility. +
+ +Unable to fetch Breez node information: @ex.Message
+This may be due to SDK v0.4.1 compatibility changes.
++ There are no recent logs. +
+ } + else + { +| Timestamp | +Log | +
|---|---|
| + @log.timestamp.ToTimeAgo() + | + ++ @log.log + | + +
Unable to fetch node information: @ex.Message
+Unable to fetch node information: @ex.Message
+Destination: @paymentDetails.Destination
+Amount: @paymentDetails.Amount sats
+Fee: @paymentDetails.Fee sats
+Total: @(paymentDetails.Amount + paymentDetails.Fee) sats
+Failed to initialize swap-in: @ex.Message
+| Deposit Tx | +Amount | +Swap Tx | +Refundable | +Actions | +
|---|---|---|---|---|
|
+ @{
+ var txLink = TransactionLinkProviders.GetTransactionLink(deposit.txId, "BTC");
+ }
+
+ |
+ @deposit.amount | +
+ @if (!string.IsNullOrEmpty(deposit.swapTxId))
+ {
+ var swapTxLink = TransactionLinkProviders.GetTransactionLink(deposit.swapTxId, "BTC");
+
+ |
+ + @if (deposit.refundable) + { + Yes + } + else + { + No + } + | ++ + | +
Breez node information not available
+ @if (string.IsNullOrEmpty(storeId)) + { + Configure Breez + } +type=breez;key=@paymentKey;storeId=@Model.StoreId
+ + The connection string above will be automatically filled when you select Breez. + Connects to your Breez mobile wallet. +
+ } + else + { +Connects to a Breez mobile wallet, using the Breez SDK to handle Lightning payments through swaps.
+ } +You can use Breez to accept lightning payments without running a traditional Lightning node.
+Breez is a mobile-first Lightning Network client that provides a non-custodial solution for Lightning payments.
+