mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
22 lines
570 B
Scheme
22 lines
570 B
Scheme
|
<% if $MoreThanOnePage %>
|
||
|
<div class="comments-pagination">
|
||
|
<p>
|
||
|
<% if $PrevLink %>
|
||
|
<a href="$PrevLink.ATT" class="previous">« <% _t('CommentsInterface_ss.PREV','previous') %></a>
|
||
|
<% end_if %>
|
||
|
|
||
|
<% if $Pages %><% loop $Pages %>
|
||
|
<% if $CurrentBool %>
|
||
|
<strong>$PageNum</strong>
|
||
|
<% else %>
|
||
|
<a href="$Link.ATT">$PageNum</a>
|
||
|
<% end_if %>
|
||
|
<% end_loop %><% end_if %>
|
||
|
|
||
|
<% if $NextLink %>
|
||
|
<a href="$NextLink.ATT" class="next"><% _t('CommentsInterface_ss.NEXT','next') %> »</a>
|
||
|
<% end_if %>
|
||
|
</p>
|
||
|
</div>
|
||
|
<% end_if %>
|