-
-
+
+
@policySummary
-
-
+
+
+
+
+
+
}
\ No newline at end of file
diff --git a/Content/WebApp/Views/Shared/_CookieConsentRevokePartial.cshtml b/Content/WebApp/Views/Shared/_CookieConsentRevokePartial.cshtml
index 18a7be1..b89116a 100644
--- a/Content/WebApp/Views/Shared/_CookieConsentRevokePartial.cshtml
+++ b/Content/WebApp/Views/Shared/_CookieConsentRevokePartial.cshtml
@@ -1,18 +1,16 @@
@using Microsoft.AspNetCore.Http.Features
@inject IStringLocalizer
sr
@{
- bool showRevoke = false;
var consentFeature = Context.Features.Get();
- if(consentFeature != null && consentFeature.IsConsentNeeded)
- {
- showRevoke = consentFeature.CanTrack;
- }
- if (Context.Request.Path.ToString().Contains("/offline")) { showRevoke = false; }
+ var hasConsented = consentFeature?.CanTrack ?? false;
+ var hasDismissed = Context.Request.Cookies["cookieconsent_dismissed"] != null;
+ // Show the link if user has made any choice (either consented or dismissed)
+ var showChangePreferences = hasConsented || hasDismissed;
}
-@if (showRevoke)
+@if (showChangePreferences)
{
-
}