Merge pull request #71 from silverstripe/camfindlay-patch-1

Add a way to check if a version is the current stable
This commit is contained in:
Damian Mooyman 2015-11-17 15:49:49 +13:00
commit 39e3e6f18a

View File

@ -709,7 +709,8 @@ class DocumentationManifest {
$output->push(new ArrayData(array(
'Title' => $check->getVersion(),
'Link' => $check->Link(),
'LinkingMode' => ($same) ? 'current' : 'link'
'LinkingMode' => ($same) ? 'current' : 'link',
'IsStable' => $check->getIsStable()
)));
}