use SERIES_INFO to pick up the message to describe the series status

Change-Id: I0297a85c245b0d7711ac49506a74239e403a0838
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-25 16:15:46 -04:00
parent e7bdd8b3a7
commit 70a7d29aeb
17 changed files with 60 additions and 188 deletions

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,21 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
For documentation, please refer to a newer
release. The most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -37,22 +37,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
Minimal documentation is still published here to
assist users running this version. For additional
documentation, please refer to a newer release. The
most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -37,22 +37,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
Minimal documentation is still published here to
assist users running this version. For additional
documentation, please refer to a newer release. The
most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -37,22 +37,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
Minimal documentation is still published here to
assist users running this version. For additional
documentation, please refer to a newer release. The
most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -37,22 +37,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>
The {{SERIES_TITLE}} release of OpenStack is no
longer supported by the community. For more
information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
<p>
Minimal documentation is still published here to
assist users running this version. For additional
documentation, please refer to a newer release. The
most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,7 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>This is not the latest release. Use the menu to select a different release if needed.</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,7 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>This is not the latest release. Use the menu to select a different release if needed.</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,7 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>This is the latest release. Use the menu to select a prior release if needed.</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -30,7 +30,7 @@
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9">
<h2>Documentation for {{SERIES_TITLE}} ({{SERIES_INFO.date}})</h2>
<p>This is the latest release. Use the menu to select a prior release if needed.</p>
{% include "templates/series_status.tmpl" %}
</div>
{% include 'templates/dropdown_releases_and_languages.tmpl' %}
</div>

View File

@ -0,0 +1,44 @@
{# -*- mode: html -*- #}
{% if SERIES_INFO.status in ('obsolete', 'EOL') %}
<p>
The {{SERIES_TITLE}} release of OpenStack is no longer supported by
the community. For more information about the release, refer to
the <a href="https://releases.openstack.org/{{SERIES}}/">releases
web site</a>.
</p>
{% endif %}
{% if SERIES_INFO.status == 'obsolete' %}
<p>
For documentation, please refer to a newer release. The most
recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a>
and the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% elif SERIES_INFO.status == 'EOL' %}
<p>
Minimal documentation is still published here to
assist users running this version. For additional
documentation, please refer to a newer release. The
most recently released version is
<a href="../{{RELEASED_SERIES}}/">{{RELEASED_SERIES|title}}</a> and
the version in development is
<a href="../{{SERIES_IN_DEVELOPMENT}}">{{SERIES_IN_DEVELOPMENT|title}}</a>.
</p>
{% elif SERIES == RELEASED_SERIES %}
<p>This is the latest release. Use the menu to select a prior release
if needed.</p>
{% elif SERIES_INFO.status == 'maintained' %}
<p>This is not the latest release. Use the menu to select a different
release if needed.</p>
{% elif SERIES_INFO.status == 'development' %}
<p>This release is currently under development. Use the menu to select
a different release if needed.</p>
{% endif %}