mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
Merge pull request #20 from Martimiz/master-update-121112
Styling 404 and selecting toplevel pages without children
This commit is contained in:
commit
0eadf2d174
@ -573,7 +573,10 @@ class DocumentationViewer extends Controller {
|
|||||||
|
|
||||||
return $children;
|
return $children;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
if ($page->getRelativeLink() == $this->Remaining[$level]) {
|
||||||
|
$page->LinkingMode = 'current';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<% base_tag %>
|
<% base_tag %>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>SilverStripe Documentation</title>
|
<title>SilverStripe Documentation</title>
|
||||||
|
<% require css(docsviewer/css/DocumentationViewer.css) %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user