diff --git a/docs/docsite/.templates/banner.html b/docs/docsite/.templates/banner.html index da250684476..649b0bf8530 100644 --- a/docs/docsite/.templates/banner.html +++ b/docs/docsite/.templates/banner.html @@ -14,13 +14,16 @@ }); } var banner = ''; - var survey_banner = - '
' + + //use extra_banner for when marketing wants something extra, like a survey or AnsibleFest notice + var extra_banner = + '
' + '
' + '

' + - 'Please take our ' + - 'survey ' + - 'to help us improve support for collections and roles in GalaxyNG.' + + 'You\'re invited to AnsibleFest 2021! ' + + '

' + + 'Explore ways to automate, innovate, and accelerate with our free virtual event September 29-30. ' + + '' + + 'Register now! ' + '

' + '
' + '
'; @@ -39,15 +42,15 @@ if (startsWith(current_url_path, "/ansible-core/")) { msg += 'You are reading documentation for Ansible Core, which contains no plugins except for those in ansible.builtin. For documentation of the Ansible package, go to the latest documentation.'; } else if (startsWithOneOf(current_url_path, ["/ansible/latest/", "/ansible/{{ latest_version }}/"])) { - /* temp banner to advertise GalaxyNG survey */ - // banner += survey_banner; + /* temp extra banner to advertise AnsibeFest2021 */ + banner += extra_banner; msg += '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.'; } else if (startsWith(current_url_path, "/ansible/2.9/")) { msg += 'You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this version, or select latest from the version selector to the left for the most recent community version.'; } else if (startsWith(current_url_path, "/ansible/devel/")) { - /* temp banner to advertise GalaxyNG survey */ - // banner += survey_banner; + /* temp extra banner to advertise AnsibleFest2021 */ + banner += extra_banner; /* temp banner to advertise survey important = true;