diff --git a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
index e3b6a57534b..94c3883d7ab 100644
--- a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
+++ b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
@@ -10,13 +10,9 @@
document.write('');
}
{% if (not READTHEDOCS) and (available_versions is defined) %}
- // Create a banner if we're not the latest version
+ // Create a banner
current_url_path = window.location.pathname;
if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) {
- /* temp banner to advertise survey */
- document.write('
');
- document.write('
Please take our Docs survey before December 31 to help us improve Ansible documentation.
');
-
document.write('
');
document.write('
You are reading the latest community version of the Ansible documentation. Red Hat subscribers, select 2.9 in the version selection to the left for the most recent Red Hat release.
');
document.write('
');
@@ -27,10 +23,10 @@
document.write('
You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this, or select any version in version selection to the left, including latest for the most recent community version.
');
document.write('
');
} else if (startsWith(current_url_path, "/ansible/devel/")) {
- /* temp banner to advertise survey */
+ /* temp banner to advertise survey
document.write('');
document.write('
Please take our Docs survey before December 31 to help us improve Ansible documentation.
');
- document.write('
');
+ document.write(''); */
document.write('');
document.write('
You are reading the devel version of the Ansible documentation - this version is not guaranteed stable. Use the version selection to the left if you want the latest stable released version.
');