From 7b61520544e4a834445a3e8b1822ff72b37fb6db Mon Sep 17 00:00:00 2001 From: tj-tracy Date: Tue, 28 Jun 2022 16:56:32 +0000 Subject: [PATCH] feat: Add cookie banner to profile for testing --- .env | 1 + .env.development | 1 + public/index.html | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/.env b/.env index 2c93ffd..4c30f90 100644 --- a/.env +++ b/.env @@ -25,3 +25,4 @@ FAVICON_URL='' ENABLE_LEARNER_RECORD_MFE='' LEARNER_RECORD_MFE_BASE_URL='' COLLECT_YEAR_OF_BIRTH=true +DISPLAY_COOKIE_BANNER='' diff --git a/.env.development b/.env.development index c7e9346..737dc3c 100644 --- a/.env.development +++ b/.env.development @@ -26,3 +26,4 @@ FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico ENABLE_LEARNER_RECORD_MFE='' LEARNER_RECORD_MFE_BASE_URL='http://localhost:1990' COLLECT_YEAR_OF_BIRTH=true +DISPLAY_COOKIE_BANNER=true diff --git a/public/index.html b/public/index.html index e54972e..2543cb0 100755 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,12 @@ + <%if (process.env.DISPLAY_COOKIE_BANNER) { %> + + + + + <% } %> Learner Profile | <%= process.env.SITE_NAME %>