Browse code

Removed Galaxy banner (#75163) (#75217)

(cherry picked from commit 1e00099753be42b98d1ce2ef1b8ec066deb59448)

Lydie authored on 2021/07/09 04:12:51
Showing 1 changed files
... ...
@@ -40,14 +40,14 @@
40 40
         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 <a href="/ansible/latest">the latest documentation</a>.';
41 41
       } else if (startsWithOneOf(current_url_path, ["/ansible/latest/", "/ansible/{{ latest_version }}/"])) {
42 42
         /* temp banner to advertise GalaxyNG survey */
43
-        banner += survey_banner;
43
+      //  banner += survey_banner;
44 44
 
45 45
         msg += 'You are reading the latest community version of the Ansible documentation. Red Hat subscribers, select <b>2.9</b> in the version selection to the left for the most recent Red Hat release.';
46 46
       } else if (startsWith(current_url_path, "/ansible/2.9/")) {
47 47
         msg += 'You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this version, or select <b>latest</b> from the version selector to the left for the most recent community version.';
48 48
       } else if (startsWith(current_url_path, "/ansible/devel/")) {
49 49
         /* temp banner to advertise GalaxyNG survey */
50
-        banner += survey_banner;
50
+      //  banner += survey_banner;
51 51
 
52 52
         /* temp banner to advertise survey
53 53
         important = true;