<commit_before>{% extends 'partials/base.html.twig' %}

{% if admin.route %}
    {% set user = admin.data('users/' ~ admin.route) %}
    {% set title = "PLUGIN_ADMIN.USER"|tu ~ ": " ~ admin.route|e %}

{% else %}
    {% set title = "PLUGIN_ADMIN.USERS"|tu %}
{% endif %}


{% block titlebar %}
    {% if not admin.route %}
        <div class="button-bar">
            <a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN.ADD_ACCOUNT"|tu }}</a>
        </div>
        <h1><i class="fa fa-fw fa-users"></i> {{ "PLUGIN_ADMIN.USERS"|tu }}</h1>
    {% else %}
        <div class="button-bar">
            <a class="button" href="{{ base_url }}/users"><i class="fa fa-reply"></i> {{ "PLUGIN_ADMIN.BACK"|tu }}</a>
            <button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> {{ "PLUGIN_ADMIN.SAVE"|tu }}</button>
        </div>
        <h1><i class="fa fa-fw fa-user"></i> {{ "PLUGIN_ADMIN.USER"|tu }}: {{ user.username|e }}</h1>
    {% endif %}
{% endblock %}

{% block content %}
    <div><commit_msg>Only show back button if pro is installed and enabled<commit_after>{% extends 'partials/base.html.twig' %}

{% if admin.route %}
    {% set user = admin.data('users/' ~ admin.route) %}
    {% set title = "PLUGIN_ADMIN.USER"|tu ~ ": " ~ admin.route|e %}

{% else %}
    {% set title = "PLUGIN_ADMIN.USERS"|tu %}
{% endif %}


{% block titlebar %}
    {% if not admin.route %}
        <div class="button-bar">
            <a class="button" href="#modal" data-remodal-target="modal"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN.ADD_ACCOUNT"|tu }}</a>
        </div>
        <h1><i class="fa fa-fw fa-users"></i> {{ "PLUGIN_ADMIN.USERS"|tu }}</h1>
    {% else %}
        <div class="button-bar">
            {% if config.plugins["admin-pro"].enabled %}
            <a class="button" href="{{ base_url }}/users"><i class="fa fa-reply"></i> {{ "PLUGIN_ADMIN.BACK"|tu }}</a>
            {% endif %}
            <button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> {{ "PLUGIN_ADMIN.SAVE"|tu }}</button>
        </div>
        <h1><i class="fa fa-fw fa-user"></i> {{ "PLUGIN_ADMIN.USER"|tu }}: {{ user.username|e }}</h1>
    {% endif %}
{% endblock %}

{% block content %}
    <div>
{'fraction_non_alphanumeric': 0.23360480068581227, 'fraction_numerical': 0.0034290612944706386, 'mean_word_length': 2.9693877551020407, 'pattern_counts': {'":': 2, '<': 53, '<?xml version=': 0, '>': 53, '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': '1869738', 'n_tokens_mistral': 905, 'n_tokens_neox': 829, 'n_words': 161}