diff --git a/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml b/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml index e2cee255eb5..c91fe6a04e8 100644 --- a/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml +++ b/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml @@ -90,49 +90,57 @@ @if (!ViewContext.ModelState.IsValid) { - @Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger mb-4 pb-0 text-center" }) + @if (ViewContext.ModelState.ErrorCount.Equals(1)) + { + @Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger mb-4 pb-0 text-center no-marker" }) + } + else + { + @Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger mb-4 pb-0 text-center" }) + } } -
-
-
- @if (!Model.Title.IsNullOrWhiteSpace()) - { -

@Model.Title

- } -
- Start Date -   - @Model.StartDate.ToString("g") -
-
- Last Updated -   - @Model.LastRefreshed.ToString("g") - + +
+
+
+ @if (!Model.Title.IsNullOrWhiteSpace()) + { +

@Model.Title

+ } +
+ Start Date +   + @Model.StartDate.ToString("g") +
+
+ Last Updated +   + @Model.LastRefreshed.ToString("g") + +
+ @if (!string.IsNullOrEmpty(Model.ResetIn)) + { +

+ Reset in +   + @Model.ResetIn +

+ } + @if (!string.IsNullOrEmpty(Model.Description)) + { +
@Safe.Raw(Model.Description)
+ } +
- @if (!string.IsNullOrEmpty(Model.ResetIn)) - { -

- Reset in -   - @Model.ResetIn -

- } - @if (!string.IsNullOrEmpty(Model.Description)) - { -
@Safe.Raw(Model.Description)
- } -
-
-
-
-

Payment Details

-
-
-
@Model.AmountDueFormatted
-
Available claim
+
+
+

Payment Details

+
+
+
@Model.AmountDueFormatted
+
Available claim
@@ -145,10 +153,10 @@
@Model.AmountFormatted
Claim limit
-
+
+
-
diff --git a/BTCPayServer/wwwroot/main/site.css b/BTCPayServer/wwwroot/main/site.css index 5d6787d9815..80ea4d06e35 100644 --- a/BTCPayServer/wwwroot/main/site.css +++ b/BTCPayServer/wwwroot/main/site.css @@ -418,3 +418,6 @@ svg.icon-note { } } +.no-marker > ul { + list-style-type: none; +}