Add Unmaintained badge

Unmaintained state does not have a badge in the web templates, but now
Extanded Maintenance was replaced by Unmaintained process (see
Technical Committee's resolution [1] for details) so this patch adds
a badge for it.

[1] https://governance.openstack.org/tc/resolutions/20230724-unmaintained-branches.html

Change-Id: Iedefd4958572c92bed5177ed8b78771ddc8334dc
This commit is contained in:
Elod Illes 2024-02-21 15:49:59 +01:00 committed by Andreas Jaeger
parent 338f4cef1d
commit 3c8a7cdebc
4 changed files with 17 additions and 0 deletions

View File

@ -78,6 +78,7 @@ a.deprecated-badge-right {
.deprecated-badge-maintained,
.deprecated-badge-extended-maintenance,
.deprecated-badge-unmaintained,
.deprecated-badge-development {
background: #eaeaea;
}
@ -107,6 +108,10 @@ a.deprecated-badge-right {
color: #000000 !important;
}
.deprecated-badge-unmaintained .deprecated-badge-close-button{
color: #000000 !important;
}
.deprecated-badge-development .deprecated-badge-close-button{
color: #000000 !important;
}

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 == 'unmaintained' %}
which is unmaintained. The current supported
release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
{% 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>

View File

@ -36,6 +36,11 @@
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 == 'unmaintained' %}
<p class="deprecated-badge-left">
This is unmaintained 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

@ -37,6 +37,10 @@
<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 == 'unmaintained' %}
<p>This is an old unmaintained release. 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>