<div class="ui-component ui-pagination">
>>  if(data.pages):
>>  if(this.options.pageLabel):
    <span class="label">{{this.options.pageLabel}}</span>
>>  endif
    <ol class="pages">
        <li class="page prev {{data.currentPage > 1 ? 'link' : 'hidden'}}" data-page-number="{{data.currentPage - 1}}">&lsaquo;</li>
>>      for(var i = data.startAt; i <= data.endAt; i++):
>>          if(i === data.startAt && i > 1):
                <li class="page ellipsis">&hellip;</li>
>>          endif
>>          else if(i === data.endAt && i < data.pages):
                <li class="page ellipsis">&hellip;</li>
>>          endif
>>          else:
                <li class="page {{i === data.currentPage ? 'current' : 'link'}}" data-page-number="{{i}}">{{i}}</li>
>>          endif
>>      endfor
        <li class="page next {{data.currentPage < data.pages ? 'link' : 'hidden'}}" data-page-number="{{data.currentPage + 1}}">&rsaquo;</li>
    </ol>
>>  endif
</div>
