{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
{% if previous_url or next_url %}
<nav>
    <ul class="pagination">
        <li class="page-item {% if first_url %}{% else %}disabled{% endif %}">
            <a class="page-link" {% if first_url %}href="{{ first_url }}"{% else %}nohref{% endif %}>1</a>
        </li>
        <li class="page-item {% if previous_url %}{% else %}disabled{% endif %}">
            <a class="page-link" data-role="previous-page-link" {% if previous_url %}href="{{ previous_url }}"{% else %}nohref{% endif %}>&lt;</a>
        </li>
        <li class="page-item active" style="float: left;">
            <input name="paginator_jump_page" class="jump-to-page" type="text" style="width: 4em;"
                   value="{{ current_page }}" psurl="{{ jump_page_url }}" psmax="{{ page_count }}" pslimit="{{ limit }}" />
        </li>
        <li class="page-item {% if next_url is defined and next_url != false %}{% else %}disabled{% endif %}">
            <a class="page-link" data-role="next-page-link" id="pagination_next_url" {% if next_url is defined and next_url != false %}href="{{ next_url }}"{% else %}nohref{% endif %}>&gt;</a>
        </li>
        <li class="page-item {% if last_url is defined and last_url != false %}{% else %}disabled{% endif %}">
            <a class="page-link" {% if last_url is defined and last_url != false %}href="{{ last_url }}"{% else %}nohref{% endif %}>{{ page_count }}</a>
        </li>
    </ul>
</nav>
{% endif %}
