2017-03-14 18:31:03 +01:00
|
|
|
|
2017-03-02 17:30:41 +01:00
|
|
|
{{* Pager template, uses output of paginate_data() in include/text.php *}}
|
2017-03-14 18:31:03 +01:00
|
|
|
|
2017-03-02 05:41:54 +01:00
|
|
|
{{if $pager}}
|
2017-03-14 18:31:03 +01:00
|
|
|
<ul class="{{$pager.class}} pagination-sm">
|
|
|
|
{{if $pager.first}}<li class="pager_first {{$pager.first.class}}"><a href="{{$pager.first.url}}" title="{{$pager.first.text}}">∣<</a></li>{{/if}}
|
2017-03-02 05:41:54 +01:00
|
|
|
|
2017-03-14 18:31:03 +01:00
|
|
|
{{if $pager.prev}}<li class="pager_prev {{$pager.prev.class}}"><a href="{{$pager.prev.url}}" title="{{$pager.prev.text}}"><</a></li>{{/if}}
|
2017-03-02 05:41:54 +01:00
|
|
|
|
2017-03-14 18:31:03 +01:00
|
|
|
{{foreach $pager.pages as $p}}<li class="pager_{{$p.class}} hidden-xs hidden-sm"><a href="{{$p.url}}">{{$p.text}}</a></li>{{/foreach}}
|
2017-03-02 05:41:54 +01:00
|
|
|
|
2017-03-14 18:31:03 +01:00
|
|
|
{{if $pager.next}}<li class="pager_next {{$pager.next.class}}"><a href="{{$pager.next.url}}" title="{{$pager.next.text}}">></a></li>{{/if}}
|
2017-03-02 05:41:54 +01:00
|
|
|
|
2017-03-14 18:31:03 +01:00
|
|
|
{{if $pager.last}}<li class="pager_last {{$pager.last.class}}"><a href="{{$pager.last.url}}" title="{{$pager.last.text}}">>∣</a></li>{{/if}}
|
|
|
|
</ul>
|
2017-03-02 05:41:54 +01:00
|
|
|
{{/if}}
|