2018-04-19 21:47:12 +02:00
|
|
|
{{if $pager && ($pager.prev || $pager.next)}}
|
2013-06-13 14:12:15 +02:00
|
|
|
<div class="pager">
|
2013-06-17 10:28:34 +02:00
|
|
|
{{if $pager.prev}}<span class="pager_prev {{$pager.prev.class}}"><a href="{{$pager.prev.url}}">{{$pager.prev.text}}</a></span>{{/if}}
|
2013-06-13 14:12:15 +02:00
|
|
|
|
2017-03-02 05:23:14 +01:00
|
|
|
{{if $pager.first}}<span class="pager_first {{$pager.first.class}}"><a href="{{$pager.first.url}}">{{$pager.first.text}}</a></span>{{/if}}
|
2013-06-13 14:12:15 +02:00
|
|
|
|
2013-06-17 10:28:34 +02:00
|
|
|
{{foreach $pager.pages as $p}}<span class="pager_{{$p.class}}"><a href="{{$p.url}}">{{$p.text}}</a></span>{{/foreach}}
|
2013-06-13 14:12:15 +02:00
|
|
|
|
2013-06-17 10:28:34 +02:00
|
|
|
{{if $pager.last}} <span class="pager_last {{$pager.last.class}}"><a href="{{$pager.last.url}}">{{$pager.last.text}}</a></span>{{/if}}
|
2013-06-13 14:12:15 +02:00
|
|
|
|
2013-06-17 10:28:34 +02:00
|
|
|
{{if $pager.next}}<span class="pager_next {{$pager.next.class}}"><a href="{{$pager.next.url}}">{{$pager.next.text}}</a></span>{{/if}}
|
|
|
|
</div>
|
2018-04-19 21:47:12 +02:00
|
|
|
{{/if}}
|