From c553c613763de32657fa995043e4f71491f40fc4 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:25:32 +0100 Subject: [PATCH] Disable cookie banner when analytics disabled (#3989) ## Summary - gate cookie consent resources behind the analytics flag - hide the cookie preferences link in the footer when analytics are disabled Generated with AI. ## Testing - `./gradlew build` ------ https://chatgpt.com/codex/tasks/task_b_687c9568b2a8832891ffebddb65a9480 --- app/core/src/main/resources/templates/fragments/common.html | 4 ++-- app/core/src/main/resources/templates/fragments/footer.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/core/src/main/resources/templates/fragments/common.html b/app/core/src/main/resources/templates/fragments/common.html index 78f0d5662..f5fdbfa9d 100644 --- a/app/core/src/main/resources/templates/fragments/common.html +++ b/app/core/src/main/resources/templates/fragments/common.html @@ -200,8 +200,8 @@ - - + + diff --git a/app/core/src/main/resources/templates/fragments/footer.html b/app/core/src/main/resources/templates/fragments/footer.html index 2d8465bf5..89c3c78b1 100644 --- a/app/core/src/main/resources/templates/fragments/footer.html +++ b/app/core/src/main/resources/templates/fragments/footer.html @@ -1,6 +1,6 @@