Add Extended Maintenance badge

Ocata, Pike, Queens and Rocky branches are in Extended Maintenance
already but they are still referred as 'maintained' in the docs. This
patch replaces 'maintained' to 'in Extended Maintenance' for those
branches.

Change-Id: I2aea17466ff3da652ba01d98def635d744e67fbb
This commit is contained in:
Elod Illes 2020-04-20 15:03:26 +02:00
parent 7cb0550b13
commit 53a15bb950
4 changed files with 16 additions and 4 deletions

View File

@ -58,10 +58,10 @@ SERIES_INFO = {
'liberty': SeriesInfo(date='October 2015', status='EOL'),
'mitaka': SeriesInfo(date='April 2016', status='EOL'),
'newton': SeriesInfo(date='October 2016', status='EOL'),
'ocata': SeriesInfo(date='February 2017', status='maintained'),
'pike': SeriesInfo(date='August 2017', status='maintained'),
'queens': SeriesInfo(date='March 2018', status='maintained'),
'rocky': SeriesInfo(date='August 2018', status='maintained'),
'ocata': SeriesInfo(date='February 2017', status='extended-maintenance'),
'pike': SeriesInfo(date='August 2017', status='extended-maintenance'),
'queens': SeriesInfo(date='March 2018', status='extended-maintenance'),
'rocky': SeriesInfo(date='August 2018', status='extended-maintenance'),
'stein': SeriesInfo(date='April 2019', status='maintained'),
'train': SeriesInfo(date='October 2019', status='maintained'),
'ussuri': SeriesInfo(date='May 2020', status='development'),

View File

@ -26,6 +26,9 @@
which is no longer supported by the community. The current supported release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
{% elif SERIES == RELEASED_SERIES %}
which is the current supported release.
{% elif SERIES_INFO.status == 'extended-maintenance' %}
which is in extended maintenance, but old. The current supported
release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
{% elif SERIES_INFO.status == 'maintained' %}
which is maintained, but old. The current supported
release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>

View File

@ -31,6 +31,11 @@
This is maintained, but <strong>not</strong> the current release. The current supported
release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
</p>
{% elif SERIES_INFO.status == 'extended-maintenance' %}
<p class="deprecated-badge-left">
This is in extended maintenance and <strong>not</strong> the current release. The current supported
release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
</p>
{% elif SERIES_INFO.status == 'development' %}
<p class="deprecated-badge-left">
This release is under development. The current supported release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>

View File

@ -33,6 +33,10 @@
<p>This is the latest release. Use the top menu to select a prior release
if needed.</p>
{% elif SERIES_INFO.status == 'extended-maintenance' %}
<p>This is an old release in extended maintenance. Use the top menu to
select a different release if needed.</p>
{% elif SERIES_INFO.status == 'maintained' %}
<p>This is not the latest release. Use the top menu to select a different
release if needed.</p>