Actualización
This commit is contained in:
43
main/template/default/admin/pagination.tpl
Normal file
43
main/template/default/admin/pagination.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
{% if pageCount > 1 %}
|
||||
<ul class="pagination">
|
||||
{% if first is defined and current != first %}
|
||||
<li class="first">
|
||||
<a href="{{ current_url }}&{{ pageParameterName ~ '=' ~first }}"><<
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if previous is defined %}
|
||||
<li class="previous">
|
||||
<a class="hidden-xs" href="{{ current_url }}&{{ pageParameterName ~ '=' ~previous }}">
|
||||
<
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% for page in pagesInRange %}
|
||||
{% if page != current %}
|
||||
<li class="page">
|
||||
<a href="{{ current_url }}&{{ pageParameterName ~ '=' ~page }}">{{ page }}</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="current active">
|
||||
<a>{{ page }} <span class="sr-only">(current)</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if next is defined %}
|
||||
<li class="next">
|
||||
<a class="hidden-xs" href="{{ current_url }}&{{ pageParameterName ~ '=' ~next }}">></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if last is defined and current != last %}
|
||||
<li class="last">
|
||||
<a href="{{ current_url }}&{{ pageParameterName ~ '=' ~last }}">>></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user