silverstripe-docsviewer/templates/Includes/DocumentationNextPrevious.ss
Will Rossiter 43b6d42719 Overhaul of module to use DocumentationManifest
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
2014-09-07 11:26:12 +12:00

11 lines
308 B
Scheme

<% if NextPage || PreviousPage %>
<div class="next-prev">
<% if PreviousPage %>
<p class="prev-link"><a href="$PreviousPage.Link">$PreviousPage.Title</a></p>
<% end_if %>
<% if NextPage %>
<p class="next-link"><a href="$NextPage.Link">$NextPage.Title</a></p>
<% end_if %>
</div>
<% end_if %>