From a907143d81d8310b600a367bc68b50aa01d8244f Mon Sep 17 00:00:00 2001 From: rockstardev Date: Thu, 23 Jan 2020 20:17:29 -0600 Subject: [PATCH] Providing open in new window split button when updating crowdfund Unifying styles on POS and Crowdfund settings co-authored-by: radWorx --- BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml | 16 ++++++++++++---- BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml index f6ffa765c..8b27fe0de 100644 --- a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml +++ b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml @@ -216,12 +216,20 @@
- Invoices - @if ((Model.Description != null) && (Model.Title != null) && (Model.TargetCurrency != null)) +
+ Invoices + +
+ @if (Model.ModelWithMinimumData) { - +
+ View App + +
} - Back to the app list + Back to the app list
diff --git a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml index 0f83d14e0..dcd2281aa 100644 --- a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml +++ b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml @@ -152,8 +152,8 @@ target="viewinvoices_@Model.Id"> Back to the app list