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) + { + + + } +
}