From 3084b653fb8f70a89b46d2888a1867b9cb3833d8 Mon Sep 17 00:00:00 2001 From: Eric Merrill Date: Thu, 13 Aug 2026 11:55:47 -0400 Subject: [PATCH] Modify notice banner for security only supported versions. --- src/theme/UnsupportedVersionBanner/index.js | 43 +++++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/src/theme/UnsupportedVersionBanner/index.js b/src/theme/UnsupportedVersionBanner/index.js index c5337d2e3..2da1fa5d4 100644 --- a/src/theme/UnsupportedVersionBanner/index.js +++ b/src/theme/UnsupportedVersionBanner/index.js @@ -32,6 +32,16 @@ function UnsupportedTitle() { ); } +function SecurityOnlyTitle() { + return ( + + Security Support Only Moodle Version + + ); +} + function UnreleasedTitle() { return ( + + + releases + + + + ), + }} + > + {'You may view the {releases} page to see the support status of all Moodle versions.'} + + ); +} + function GeneralSupportExpiredWarning({ versionData }) { return ( } title={ - + } > @@ -84,11 +120,11 @@ function GeneralSupportExpiredWarning({ versionData }) { description="A heading to indicate that the Moodle version is only in security support" id="documentation.support.securityOnly" > - This version of Moodle is no longer supported for general bug fixes. + This version of Moodle receives security fixes, but is no longer supported for general bug fixes.
- +
); } @@ -206,6 +242,7 @@ function VersionedSupportWarning({ versionData, moodleVersion }) { ); } + // 'security' is the remaining option. return ( );