fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b064fab
)
Enable A/B test for blackout.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 11 Dec 2020 13:39:40 +0000
(14:39 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 11 Dec 2020 13:39:40 +0000
(14:39 +0100)
src/catalogue/templates/catalogue/viewer_base.html
patch
|
blob
|
history
src/wolnelektury/settings/custom.py
patch
|
blob
|
history
src/wolnelektury/templates/base/superbase.html
patch
|
blob
|
history
diff --git
a/src/catalogue/templates/catalogue/viewer_base.html
b/src/catalogue/templates/catalogue/viewer_base.html
index
89c4121
..
993c1f4
100644
(file)
--- a/
src/catalogue/templates/catalogue/viewer_base.html
+++ b/
src/catalogue/templates/catalogue/viewer_base.html
@@
-15,7
+15,9
@@
{% tracking_code %}
</head>
<body id="{% block body-id %}reader{% endblock %}">
{% tracking_code %}
</head>
<body id="{% block body-id %}reader{% endblock %}">
- {% annoy_banner 'blackout' %}
+ {% if AB.BLACKOUT %}
+ {% annoy_banner 'blackout' %}
+ {% endif %}
{% annoy_banner 'top' %}
<nav id="no-menu"><ul>
<li><a href="#" id="menu-toggle-on"></a></li>
{% annoy_banner 'top' %}
<nav id="no-menu"><ul>
<li><a href="#" id="menu-toggle-on"></a></li>
diff --git
a/src/wolnelektury/settings/custom.py
b/src/wolnelektury/settings/custom.py
index
8e51f0f
..
2702846
100644
(file)
--- a/
src/wolnelektury/settings/custom.py
+++ b/
src/wolnelektury/settings/custom.py
@@
-40,7
+40,7
@@
CLUB_PAYU_RECURRING_POS = '300746'
CLUB_APP_HOST = None
AB_TESTS = {
CLUB_APP_HOST = None
AB_TESTS = {
- '
PAYLOGO
': 2,
+ '
BLACKOUT
': 2,
}
MESSAGING_MIN_DAYS = 2
}
MESSAGING_MIN_DAYS = 2
diff --git
a/src/wolnelektury/templates/base/superbase.html
b/src/wolnelektury/templates/base/superbase.html
index
b47f3a3
..
2be2adb
100644
(file)
--- a/
src/wolnelektury/templates/base/superbase.html
+++ b/
src/wolnelektury/templates/base/superbase.html
@@
-37,7
+37,9
@@
{% block bodycontent %}
{% block annoy %}
{% block bodycontent %}
{% block annoy %}
- {% annoy_banner 'blackout' %}
+ {% if AB.BLACKOUT %}
+ {% annoy_banner 'blackout' %}
+ {% endif %}
{% annoy_banner 'top' %}
{% if not funding_no_show_current %}
{% cache 120 funding_top_bar LANGUAGE_CODE %}
{% annoy_banner 'top' %}
{% if not funding_no_show_current %}
{% cache 120 funding_top_bar LANGUAGE_CODE %}