Merge pull request #1825 from Zaxounette/PullPayments-claim

Pull payments claim & payout notification rewording
This commit is contained in:
Nicolas Dorier 2020-08-10 22:41:20 +09:00 committed by GitHub
commit 56ed583bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ namespace BTCPayServer.Controllers
{ {
TempData.SetStatusMessageModel(new StatusMessageModel() TempData.SetStatusMessageModel(new StatusMessageModel()
{ {
Message = $"You posted a claim of {_currencyNameTable.DisplayFormatCurrency(vm.ClaimedAmount, ppBlob.Currency)} to {vm.Destination}, this will get fullfilled later.", Message = $"Your claim request of {_currencyNameTable.DisplayFormatCurrency(vm.ClaimedAmount, ppBlob.Currency)} to {vm.Destination} has been submitted and is awaiting approval.",
Severity = StatusMessageModel.StatusSeverity.Success Severity = StatusMessageModel.StatusSeverity.Success
}); });
} }

View File

@ -20,7 +20,7 @@ namespace BTCPayServer.Services.Notifications.Blobs
public override string NotificationType => "payout"; public override string NotificationType => "payout";
protected override void FillViewModel(PayoutNotification notification, NotificationViewModel vm) protected override void FillViewModel(PayoutNotification notification, NotificationViewModel vm)
{ {
vm.Body = "A new payout is awaiting for payment"; vm.Body = "A new payout is awaiting for approval";
vm.ActionLink = _linkGenerator.GetPathByAction(nameof(WalletsController.Payouts), vm.ActionLink = _linkGenerator.GetPathByAction(nameof(WalletsController.Payouts),
"Wallets", "Wallets",
new { walletId = new WalletId(notification.StoreId, notification.PaymentMethod) }, _options.RootPath); new { walletId = new WalletId(notification.StoreId, notification.PaymentMethod) }, _options.RootPath);