<commit_before>{# default Sliding pagination control implementation #}

{% if pageCount > 1 %}

<div>
    <ul class="pagination">
        {% if current != first %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: first})) }}"><i class="glyphicon glyphicon-fast-backward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-fast-backward"></i></span></li>
        {% endif %}

        {% if previous is defined and current != previous %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: previous})) }}"><i class="glyphicon glyphicon-step-backward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-step-backward"></i></span></li>
        {% endif %}

        {% for page in pagesInRange %}
            {% if page != current %}
                <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: page})) }}">{{ page }}</a></li>
            {% else %}
                <li class="active"><span>{{ page }}</span></li>
            {% endif %}
        {% endfor %}

        {% if next is defined and current != next %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: next})) }}"><i class="glyphicon glyphicon-step-forward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-step-forward"></i></span></li>
        {% endif %}

        {% if current != last %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: last})) }}"><i class="glyphicon glyphicon-fast-forward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-fast-forward"></i></span></li>
        {% endif %}
    </ul>
</div>

{% endif %}
<commit_msg>Update template for use Bootstrap 3.0<commit_after>{# default Sliding pagination control implementation #}

{% if pageCount > 1 %}

<div>
    <ul class="pagination pagination-sm">
        {% if current != first %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: first})) }}"><i class="glyphicon glyphicon-fast-backward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-fast-backward"></i></span></li>
        {% endif %}

        {% if previous is defined and current != previous %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: previous})) }}"><i class="glyphicon glyphicon-step-backward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-step-backward"></i></span></li>
        {% endif %}

        {% for page in pagesInRange %}
            {% if page != current %}
                <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: page})) }}">{{ page }}</a></li>
            {% else %}
                <li class="active"><span>{{ page }}</span></li>
            {% endif %}
        {% endfor %}

        {% if next is defined and current != next %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: next})) }}"><i class="glyphicon glyphicon-step-forward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-step-forward"></i></span></li>
        {% endif %}

        {% if current != last %}
        <li><a href="{{ path(app.request.get('_route'), app.request.query.all()|merge({page: last})) }}"><i class="glyphicon glyphicon-fast-forward"></i></a></li>
        {% else %}
        <li class="disabled"><span><i class="glyphicon glyphicon-fast-forward"></i></span></li>
        {% endif %}
    </ul>
</div>

{% endif %}

{'fraction_non_alphanumeric': 0.23253388946819603, 'fraction_numerical': 0.0010427528675703858, 'mean_word_length': 2.8954314720812184, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4214011', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1137, 'n_words': 230}