first commit
This commit is contained in:
19
modules/mailchimppro/vendor/jasongrimes/paginator/examples/pager.twig
vendored
Normal file
19
modules/mailchimppro/vendor/jasongrimes/paginator/examples/pager.twig
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{% if paginator.numPages > 1 %}
|
||||
<ul class="pagination">
|
||||
{% if paginator.prevUrl %}
|
||||
<li><a href="{{ paginator.prevUrl }}">« Previous</a></li>
|
||||
{% endif %}
|
||||
|
||||
{% for page in paginator.pages %}
|
||||
{% if page.url %}
|
||||
<li {{ page.isCurrent ? 'class="active"' : '' }}><a href="{{ page.url }}">{{ page.num }}</a></li>
|
||||
{% else %}
|
||||
<li class="disabled"><span>{{ page.num }}</span></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.nextUrl %}
|
||||
<li><a href="{{ paginator.nextUrl }}">Next »</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user