diff --git a/doc/_themes/saltstack2/layout.html b/doc/_themes/saltstack2/layout.html index 8502ee0a07..a38e81f139 100644 --- a/doc/_themes/saltstack2/layout.html +++ b/doc/_themes/saltstack2/layout.html @@ -21,7 +21,7 @@ {% set script_files = [ '_static/js/core.min.js', - '_static/js/webhelp.min_v1.4.1.js', + '_static/js/webhelp.min_v1.4.2.js', ] %} {% set css_files = [ @@ -160,6 +160,12 @@ {% endif %} + {% if build_type == "inactive" and on_saltstack %} +
+ +
+ {% endif %} + {%- block document %}
{% block body %} {% endblock %} @@ -192,8 +198,11 @@ {% elif build_type == "previous" %}

You are viewing docs for the previous stable release, {{ previous_release }}. Switch to docs for the latest stable release, {{ latest_release }}, or to a recent doc build from the develop branch.

+ {% elif build_type == "inactive" %} +

You are viewing docs for an inactive release, {{ previous_release }}. Switch to docs for the latest stable release, {{ latest_release }}, or to a recent doc build from the develop branch.

+ {% elif build_type == "develop" %} -

You are viewing docs built from a recent snapshot of the develop branch. Switch to docs for the latest stable release, {{ latest_release }}, or to docs for the previous stable release, {{ previous_release }}.

+

You are viewing docs built from a recent snapshot of the develop branch. Switch to docs for the latest stable release, {{ latest_release }}.

{% endif %}
@@ -203,12 +212,9 @@
- + -

-

SaltStack Training

-

Now offering remote attendee training!

{% endif %} @@ -224,9 +230,9 @@ {% if on_saltstack %} -
+