From 3ae3afb18c47b4d2f8b2e3b188b689a6bb845152 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Wed, 17 Jan 2024 14:32:13 +0100 Subject: [PATCH] =?UTF-8?q?(homepage)=20documentation=20btn=20AB=C2=A0test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lacommunaute/templates/pages/home.html | 41 ++++++++++++++++++- .../templates/partials/ask_a_question.html | 15 +++++++ 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/lacommunaute/templates/pages/home.html b/lacommunaute/templates/pages/home.html index 420628dcb..abae55c7d 100644 --- a/lacommunaute/templates/pages/home.html +++ b/lacommunaute/templates/pages/home.html @@ -48,7 +48,6 @@

Progressez grâce à des ressources exclusives - {% include "partials/ask_a_question.html" %}
@@ -56,6 +55,11 @@

+
+
+ {% include "partials/ask_a_question.html" %} +
+
@@ -202,4 +206,39 @@

setTimeout(displayTallyPopup, delayBeforeShowingPopupInSeconds * 1000); }; + + + {% endblock %} diff --git a/lacommunaute/templates/partials/ask_a_question.html b/lacommunaute/templates/partials/ask_a_question.html index be587cbc5..8825a9a01 100644 --- a/lacommunaute/templates/partials/ask_a_question.html +++ b/lacommunaute/templates/partials/ask_a_question.html @@ -23,5 +23,20 @@ {% trans "Search forums" %} + {% comment %}AB Test - variation bouton documentation{% endcomment %} + {% if request.GET.btn %} +
ou
+ + {% comment %}END AB Test - variation bouton documentation{% endcomment %} +
yyy
+ {% endif %} {% endif %}