mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Add warnings pointing to latest manual version on all old manual pages
This commit is contained in:
parent
e56c6b4642
commit
8deafc7543
4 changed files with 36 additions and 5 deletions
7
templates/OldManualVersionWarning.php
Normal file
7
templates/OldManualVersionWarning.php
Normal 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>
|
||||
<? } ?>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue