From ee75b1b8175c0d60a4095481e67c88aa8816f70a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 11 Dec 2020 14:39:40 +0100 Subject: [PATCH 1/1] Enable A/B test for blackout. --- src/catalogue/templates/catalogue/viewer_base.html | 4 +++- src/wolnelektury/settings/custom.py | 2 +- src/wolnelektury/templates/base/superbase.html | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/catalogue/templates/catalogue/viewer_base.html b/src/catalogue/templates/catalogue/viewer_base.html index 89c4121e1..993c1f421 100644 --- a/src/catalogue/templates/catalogue/viewer_base.html +++ b/src/catalogue/templates/catalogue/viewer_base.html @@ -15,7 +15,9 @@ {% tracking_code %} - {% annoy_banner 'blackout' %} + {% if AB.BLACKOUT %} + {% annoy_banner 'blackout' %} + {% endif %} {% annoy_banner 'top' %}