Fix paging when link has to be disabled
This commit is contained in:
parent
1708f58d42
commit
c9034bed45
|
@ -52,9 +52,9 @@
|
|||
{{?}}
|
||||
{{? 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 class="{{? it.prevLink == ""}}disabled{{?}}"><a id="prevLink" href="{{=it.prevLink}}"><span class="glyphicon glyphicon-chevron-left"></span>{{=it.c.i18n.previousAlt}}</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>
|
||||
<li class="{{? it.nextLink == ""}}disabled{{?}}"><a id="nextLink" href="{{=it.nextLink}}">{{=it.c.i18n.nextAlt}}<span class="glyphicon glyphicon-chevron-right"></span></a></li>
|
||||
</ul>
|
||||
{{?}}
|
||||
</div>
|
Loading…
Reference in a new issue