From f315ad1ce9e5f5abc21afe5ce898f85c99f3e158 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Mon, 3 Mar 2025 15:37:31 -0500 Subject: [PATCH] modify cookie consent text --- .../Themes/Controls/CookieConsent.resx | 4 +-- .../Themes/Controls/Theme/CookieConsent.razor | 29 ++++++++++++------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/Oqtane.Client/Resources/Themes/Controls/CookieConsent.resx b/Oqtane.Client/Resources/Themes/Controls/CookieConsent.resx index 6beb4805..1e5fc1e2 100644 --- a/Oqtane.Client/Resources/Themes/Controls/CookieConsent.resx +++ b/Oqtane.Client/Resources/Themes/Controls/CookieConsent.resx @@ -120,8 +120,8 @@ Confirm - - I agree to using cookies to provide the best user experience for this site. + + I agree to use cookies to provide the best possible user experience for this site. I understand that I can change these preferences at any time. Privacy diff --git a/Oqtane.Client/Themes/Controls/Theme/CookieConsent.razor b/Oqtane.Client/Themes/Controls/Theme/CookieConsent.razor index 1ff5406b..92b862f0 100644 --- a/Oqtane.Client/Themes/Controls/Theme/CookieConsent.razor +++ b/Oqtane.Client/Themes/Controls/Theme/CookieConsent.razor @@ -12,24 +12,31 @@ @if (_showBanner) { -
-
- @((MarkupString)Convert.ToString(Localizer["ConsentDescription"])) +
+
@if (PageState.RenderMode == RenderModes.Static) { - + } else { - + } + @((MarkupString)Convert.ToString(Localizer["ConsentNotice"]))
-
- - @if (ShowPrivacyLink) - { - @((MarkupString)Convert.ToString(Localizer["Privacy"])) - } +
+
+
+ +
+ @if (ShowPrivacyLink) + { + + + } +
}