<commit_before>{% set clear_cache_url = base_url_relative ~ '/cache.json/task' ~ config.system.param_sep ~ 'clearCache'|e('html_attr') %}
<ul id="admin-nav-quick-tray">
    {% if authorize(['admin.maintenance', 'admin.super', 'admin.cache']) %}
    <li class="hint--bottom" data-hint="{{ "PLUGIN_ADMIN.CLEAR_CACHE"|tu }}">
        <a data-clear-cache-type="" data-clear-cache="{{ uri.addNonce(clear_cache_url, 'admin-form', 'admin-nonce') }}">
            <i class="fa fa-trash"></i>
        </a>
    </li>
    {% endif %}
    {% if grav.twig.plugins_quick_tray %}
    {% for label, item in grav.twig.plugins_quick_tray %}
        {% if authorize((item.authorize is defined and item.authorize is iterable) ? item.authorize : [item.authorize ?: ('admin.' ~ (item.location ?: item.route)), 'admin.super']) %}
            {% set data_tags = '' %}
            {% if (item.data) %}
                {% for key, value in item.data %}
                    {% set data_tags = data_tags ~ ' data-' ~ key ~ '="' ~ value ~ '"' %}
                {% endfor %}
            {% endif %}
            <li class="{{ item.class }} hint--bottom" data-hint="{{ item.hint }}" {{ data_tags|raw }}>
            {% if item.route %}
                <a href="{{ url(item.route) }}">
                    <i class="fa fa-fw {{ item.icon }}"></i>
                </a>
            {% else %}
                <i class="fa fa-fw {{ item.icon }}"></i>
            {% endif %}
            </li>
        {% endif %}
    {% endfor %}
    {% else %}
        {% if authorize(['admin.maintenance', 'admin.super']) %}
        <li class="hint--bottom" data-hint="Add the 'quick-tray-links' plugin for more...">
            <a href="{{ base_url_relative ~ '/plugins/install' }}">
                <i class="fa fa-plus"></i>
            </a>
        </li>
        {% endif %}
    {% endif %}
</ul>
<commit_msg>Added target to rule 21 (#1518)<commit_after>{% set clear_cache_url = base_url_relative ~ '/cache.json/task' ~ config.system.param_sep ~ 'clearCache'|e('html_attr') %}
<ul id="admin-nav-quick-tray">
    {% if authorize(['admin.maintenance', 'admin.super', 'admin.cache']) %}
    <li class="hint--bottom" data-hint="{{ "PLUGIN_ADMIN.CLEAR_CACHE"|tu }}">
        <a data-clear-cache-type="" data-clear-cache="{{ uri.addNonce(clear_cache_url, 'admin-form', 'admin-nonce') }}">
            <i class="fa fa-trash"></i>
        </a>
    </li>
    {% endif %}
    {% if grav.twig.plugins_quick_tray %}
    {% for label, item in grav.twig.plugins_quick_tray %}
        {% if authorize((item.authorize is defined and item.authorize is iterable) ? item.authorize : [item.authorize ?: ('admin.' ~ (item.location ?: item.route)), 'admin.super']) %}
            {% set data_tags = '' %}
            {% if (item.data) %}
                {% for key, value in item.data %}
                    {% set data_tags = data_tags ~ ' data-' ~ key ~ '="' ~ value ~ '"' %}
                {% endfor %}
            {% endif %}
            <li class="{{ item.class }} hint--bottom" data-hint="{{ item.hint }}" {{ data_tags|raw }}>
            {% if item.route %}
                <a href="{{ url(item.route) }}" {% if item.target %}target="{{ item.target }}"{% endif %}>
                    <i class="fa fa-fw {{ item.icon }}"></i>
                </a>
            {% else %}
                <i class="fa fa-fw {{ item.icon }}"></i>
            {% endif %}
            </li>
        {% endif %}
    {% endfor %}
    {% else %}
        {% if authorize(['admin.maintenance', 'admin.super']) %}
        <li class="hint--bottom" data-hint="Add the 'quick-tray-links' plugin for more...">
            <a href="{{ base_url_relative ~ '/plugins/install' }}">
                <i class="fa fa-plus"></i>
            </a>
        </li>
        {% endif %}
    {% endif %}
</ul>

{'fraction_non_alphanumeric': 0.20673329826407155, 'fraction_numerical': 0.0015781167806417674, 'mean_word_length': 1.966458658346334, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '5040933', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1174, 'n_words': 248}