Sha256: 1e3edd987d6ccadba953fd0fddd343b0c42b50e5320c640ba804f6a0ebfe2fa1
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
<script type="text/x-tmpl" id="paginator-tmpl"> {% if(o['total_pages'] > 0) { %} <nav> <ul class="pagination pagination-sm center-block"> {% for(var i = 0; i <= o['total_pages']; i++) { %} <li class="{%= ((o['current_page'] == i) ? 'active' : '') %} page-item"><a href="{%= o['url'] %}&page={%= i %}" class="page-link">{%= i+1 %}</a></li> {% } %} </ul> </nav> {% } %} </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_admin_insights-2.1.1 | app/views/spree/admin/templates/insights/_paginator.template |
solidus_admin_insights-2.1.0 | app/views/spree/admin/templates/insights/_paginator.template |