Add warnings pointing to latest manual version on all old manual pages

This commit is contained in:
Alex Cabal 2020-11-24 12:43:22 -06:00
parent e56c6b4642
commit 8deafc7543
4 changed files with 36 additions and 5 deletions

View file

@ -0,0 +1,7 @@
<? if(Manual::GetRequestedVersion() !== Manual::GetLatestVersion()){ ?>
<aside class="alert">
<p>This is an outdated version of the manual that is no longer current.</p>
<p><a href="/manual/latest">Read the latest version instead.</a></p>
</aside>
<? } ?>