silverstripe-docsviewer/templates/Includes/DocumentationNextPrevious.ss
2014-09-20 13:45:23 +12:00

11 lines
324 B
Scheme

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