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 ( );