diff --git a/liiweb/templates/peachjam/layouts/main.html b/liiweb/templates/peachjam/layouts/main.html
index db2625bb5..26dac5783 100644
--- a/liiweb/templates/peachjam/layouts/main.html
+++ b/liiweb/templates/peachjam/layouts/main.html
@@ -5,3 +5,10 @@
href="{% sass_src 'stylesheets/liiweb.scss' %}"
type="text/css"/>
{% endblock %}
+{% block before-content %}
+ {% block survey-banner %}
+ {% if PEACHJAM_SETTINGS.survey_link %}
+ {% include "peachjam/_survey_banner_sm.html" %}
+ {% endif %}
+ {% endblock %}
+{% endblock %}
diff --git a/malawilii/templates/liiweb/home.html b/malawilii/templates/liiweb/home.html
index ffb622572..e0d35bb5f 100644
--- a/malawilii/templates/liiweb/home.html
+++ b/malawilii/templates/liiweb/home.html
@@ -17,31 +17,6 @@
{% endblocktrans %}
{% endblock %}
-{% block after-search %}
-
-
-
-
-
-
{% trans 'Take the MalawiLII Survey' %}
- {% blocktrans %}
-
- Help us make Malawi legal information more freely accessible to everyone.
- Take this short 5 minute survey on your usage of the platform and your general experience using the site.
- All information shared is confidential.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}
{% block second-col-about %}
{% blocktrans trimmed %}
diff --git a/malawilii/templates/peachjam/layouts/main.html b/malawilii/templates/peachjam/layouts/main.html
index 57c418a34..c3add369c 100644
--- a/malawilii/templates/peachjam/layouts/main.html
+++ b/malawilii/templates/peachjam/layouts/main.html
@@ -5,25 +5,3 @@
href="{% sass_src 'stylesheets/malawilii.scss' %}"
type="text/css"/>
{% endblock %}
-{% block before-content %}
-
-
-
-
-
- {% blocktrans %}
-
- Help us improve MalawiLII. Take this short 5 minute survey on your usage of the platform and your general experience using the site.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}
diff --git a/peachjam/models/settings.py b/peachjam/models/settings.py
index 6e9a0ae58..94f958471 100644
--- a/peachjam/models/settings.py
+++ b/peachjam/models/settings.py
@@ -129,6 +129,11 @@ class PeachJamSettings(SingletonModel):
blank=True,
help_text=_("Matomo site ID (e.g. 2)"),
)
+ survey_link = models.URLField(
+ _("survey link"),
+ null=True,
+ blank=True,
+ )
class Meta:
verbose_name = verbose_name_plural = _("site settings")
diff --git a/peachjam/templates/peachjam/_survey_banner_lg.html b/peachjam/templates/peachjam/_survey_banner_lg.html
new file mode 100644
index 000000000..33c04695a
--- /dev/null
+++ b/peachjam/templates/peachjam/_survey_banner_lg.html
@@ -0,0 +1,24 @@
+{% load i18n %}
+
+
+
+
+
+ {% blocktrans %}
+
Take the {{ APP_NAME }} Survey
+
+ Help us make {{ APP_NAME }} better.
+ Take this short 5 minute survey and tell us about how you use {{ APP_NAME }} and how we can improve it.
+ All information shared is confidential.
+
+ {% endblocktrans %}
+
+
+
+
+
+
diff --git a/peachjam/templates/peachjam/_survey_banner_sm.html b/peachjam/templates/peachjam/_survey_banner_sm.html
new file mode 100644
index 000000000..0691cd2f6
--- /dev/null
+++ b/peachjam/templates/peachjam/_survey_banner_sm.html
@@ -0,0 +1,21 @@
+{% load i18n %}
+
+
+
+
+
+ {% blocktrans %}
+
+ Help us make {{ APP_NAME }} better. Take this short 5 minute survey and tell us about how you use {{ APP_NAME }} and how we can improve it. All information shared is confidential
+
+ {% endblocktrans %}
+
+
+
+
+
+
diff --git a/tanzlii/templates/liiweb/home.html b/tanzlii/templates/liiweb/home.html
index 2f74df7ee..b98b08ef5 100644
--- a/tanzlii/templates/liiweb/home.html
+++ b/tanzlii/templates/liiweb/home.html
@@ -1,6 +1,5 @@
{% extends "liiweb/home.html" %}
{% load static i18n %}
-{% block before-content %}{% endblock %}
{% block hero-logos %}
@@ -24,28 +23,3 @@
We aim to support the rule of law by publishing the law of Tanzania for free online access.
{% endblocktrans %}
{% endblock %}
-{% block after-search %}
-
-
-
-
-
-
{% trans 'Take the TanzLII Survey' %}
- {% blocktrans %}
-
- Help us make Tanzanian legal information more freely accessible to everyone.
- Take this short 5 minute survey on your usage of the platform and your general experience using the site.
- All information shared is confidential.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}
diff --git a/tanzlii/templates/peachjam/layouts/main.html b/tanzlii/templates/peachjam/layouts/main.html
index 0ba79cca9..0eabc4474 100644
--- a/tanzlii/templates/peachjam/layouts/main.html
+++ b/tanzlii/templates/peachjam/layouts/main.html
@@ -5,25 +5,3 @@
href="{% sass_src 'stylesheets/tanzlii.scss' %}"
type="text/css"/>
{% endblock %}
-{% block before-content %}
-
-
-
-
-
- {% blocktrans %}
-
- Help us improve TanzLII. Take this short 5 minute survey on your usage of the platform and your general experience using the site.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}
diff --git a/zambialii/templates/liiweb/home.html b/zambialii/templates/liiweb/home.html
index 36d1b07ff..c16ce65f4 100644
--- a/zambialii/templates/liiweb/home.html
+++ b/zambialii/templates/liiweb/home.html
@@ -17,31 +17,6 @@
{% endblocktrans %}
{% endblock %}
-{% block after-search %}
-
-
-
-
-
-
{% trans 'Take the ZambiaLII Survey' %}
- {% blocktrans %}
-
- Help us make Zambian legal information more freely accessible to everyone.
- Take this short 5 minute survey on your usage of the platform and your general experience using the site.
- All information shared is confidential.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}
{% block second-col-about %}
{% blocktrans trimmed %}
diff --git a/zambialii/templates/peachjam/layouts/main.html b/zambialii/templates/peachjam/layouts/main.html
index 2729bf75a..11684bdc4 100644
--- a/zambialii/templates/peachjam/layouts/main.html
+++ b/zambialii/templates/peachjam/layouts/main.html
@@ -5,25 +5,3 @@
href="{% sass_src 'stylesheets/zambialii.scss' %}"
type="text/css"/>
{% endblock %}
-{% block before-content %}
-
-
-
-
-
- {% blocktrans %}
-
- Help us improve ZambiaLII. Take this short 5 minute survey on your usage of the platform and your general experience using the site.
-
- {% endblocktrans %}
-
-
-
-
-
-
-{% endblock %}