From bad9694f6c1d7cba984d9ce0626b531e0ccdc3b9 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Fri, 23 Feb 2024 14:54:41 +0100 Subject: [PATCH] [PM-6378] Add noreferrer to external admin urls (#3827) --- src/Admin/Views/Home/Index.cshtml | 9 ++++++--- src/Admin/Views/Shared/_BillingInformation.cshtml | 5 +++-- src/Admin/Views/Shared/_Layout.cshtml | 3 ++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Admin/Views/Home/Index.cshtml b/src/Admin/Views/Home/Index.cshtml index 7589dc8afe..46665260c8 100644 --- a/src/Admin/Views/Home/Index.cshtml +++ b/src/Admin/Views/Home/Index.cshtml @@ -90,9 +90,12 @@
diff --git a/src/Admin/Views/Shared/_BillingInformation.cshtml b/src/Admin/Views/Shared/_BillingInformation.cshtml index dab0587ef8..ba83bb9b50 100644 --- a/src/Admin/Views/Shared/_BillingInformation.cshtml +++ b/src/Admin/Views/Shared/_BillingInformation.cshtml @@ -24,13 +24,14 @@ { @invoice.Date - @invoice.Number + @invoice.Number + @invoice.Amount.ToString("C") @(invoice.Paid ? "Paid" : "Unpaid") @if (canDownloadInvoice) { - + diff --git a/src/Admin/Views/Shared/_Layout.cshtml b/src/Admin/Views/Shared/_Layout.cshtml index 37b893e643..ada39f7620 100644 --- a/src/Admin/Views/Shared/_Layout.cshtml +++ b/src/Admin/Views/Shared/_Layout.cshtml @@ -125,7 +125,8 @@ @if (GlobalSettings.SelfHosted) { }