Merge "Add Unmaintained badge"

This commit is contained in:
Zuul 2024-03-11 18:14:17 +00:00 committed by Gerrit Code Review
commit 492a219e86
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>