Handle paging. re #79
This commit is contained in:
parent
31e10c8835
commit
1708f58d42
|
@ -50,4 +50,11 @@
|
||||||
{{~}}
|
{{~}}
|
||||||
</div>
|
</div>
|
||||||
{{?}}
|
{{?}}
|
||||||
|
{{? it.isPaginated == 1}}
|
||||||
|
<ul class="pager">
|
||||||
|
<li><a id="prevLink" href="{{=it.prevLink}}" {{? it.prevLink == ""}}disabled{{?}}><span class="glyphicon glyphicon-chevron-left"></span></a></li>
|
||||||
|
<li> {{=it.currentPage}} / {{=it.maxPage}} </li>
|
||||||
|
<li><a id="nextLink" href="{{=it.nextLink}}" {{? it.nextLink == ""}}disabled{{?}}><span class="glyphicon glyphicon-chevron-right"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
{{?}}
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue