[2.5] Add Eol banner to all pages (#59810)

* add eol banner (#59254)

(cherry picked from commit 00699735e9)
This commit is contained in:
Sandra McCann 2019-08-07 16:45:57 -04:00 committed by Alicia Cozine
parent ab16969416
commit 4f5084d9d2
2 changed files with 12 additions and 6 deletions

View file

@ -0,0 +1,4 @@
{# Creates a banner at the top of the page for EOL versions. #}
<div id='banner' class='Admonition caution'>
<p>You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See <a href="https://docs.ansible.com/ansible/latest/index.html">the latest Ansible documentation</a>.</p>
</div>

View file

@ -237,6 +237,8 @@
</div> --> </div> -->
{% include "breadcrumbs.html" %} {% include "breadcrumbs.html" %}
{% include "ansible_eol_banner.html" %}
<div id="page-content"> <div id="page-content">
{% block body %}{% endblock %} {% block body %}{% endblock %}
</div> </div>