mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
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:
commit
39e3e6f18a
@ -709,7 +709,8 @@ class DocumentationManifest {
|
|||||||
$output->push(new ArrayData(array(
|
$output->push(new ArrayData(array(
|
||||||
'Title' => $check->getVersion(),
|
'Title' => $check->getVersion(),
|
||||||
'Link' => $check->Link(),
|
'Link' => $check->Link(),
|
||||||
'LinkingMode' => ($same) ? 'current' : 'link'
|
'LinkingMode' => ($same) ? 'current' : 'link',
|
||||||
|
'IsStable' => $check->getIsStable()
|
||||||
)));
|
)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user