mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
committed by
Andrew Camilleri
parent
03f8d6693d
commit
cb1dbe7662
@@ -865,10 +865,10 @@ namespace BTCPayServer.Controllers
|
|||||||
|
|
||||||
if (!store.GetSupportedPaymentMethods(_NetworkProvider).Any())
|
if (!store.GetSupportedPaymentMethods(_NetworkProvider).Any())
|
||||||
{
|
{
|
||||||
TempData.SetStatusMessageModel(new StatusMessageModel()
|
TempData.SetStatusMessageModel(new StatusMessageModel
|
||||||
{
|
{
|
||||||
Severity = StatusMessageModel.StatusSeverity.Error,
|
Severity = StatusMessageModel.StatusSeverity.Error,
|
||||||
Html = $"To create an invoice, you need to <a href='{Url.Action(nameof(StoresController.PaymentMethods), "Stores", new { storeId = store.Id })}' class='alert-link'>set up your wallet</a> first",
|
Html = $"To create an invoice, you need to <a href='{Url.Action(nameof(StoresController.PaymentMethods), "Stores", new { storeId = store.Id })}' class='alert-link'>set up a payment method</a> first",
|
||||||
AllowDismiss = false
|
AllowDismiss = false
|
||||||
});
|
});
|
||||||
return View(model);
|
return View(model);
|
||||||
|
|||||||
Reference in New Issue
Block a user