<commit_before>{% extends "layouts" ~ DIR ~ "default.twig" %}

{% block title %}{{ "Manage Users" | translate }}{% endblock %}

{% block content %}
<form class="filters" action="{{ url('/') }}" method="get" accept-charset="UTF-8">
<fieldset>
<input type="hidden" name="action" value="manage_users">
<div role="search" class="filter_item">
<h3>
{{ "Search&hellip;" | translate }}
<a href="{{ url('help/id/filtering_results') }}" target="_blank" class="help emblem"><img src="{{ site.chyrp_url }}/admin/images/icons/help.svg" alt="help"></a>
</h3>
<input class="text filter_text" type="text" name="query" value="{{ GET.query | fix(true) }}" id="query">
<button type="submit">{{ "Search" | translate }}</button>
{% if visitor.group.can("add_user") %}
<a href="{{ url('new_user') }}" class="button yay">
<img src="{{ site.chyrp_url }}/admin/images/icons/add.svg" alt="add">{{ "New User" | translate }}
</a>
{% endif %}
</div>
</fieldset>
</form>
<h2>{{ GET.query is not empty ? "Search Results" | translate : "Users" | translate }}</h2>
<table>
<thead>
<tr class="head">
<th class="user_name name">{{ "Login (name)" | translate }}</th>
<th class="user_group value">{{ "Group" | translate }}</th>
<th class="user_joined date">{{ "Joined" | translate }}</th>
<th class="user_website name">{{ "Website" | translate }}</th>
<th class="user_activated emblem">{{ "Activated?" | translate }}</th>
{{ trigger.call("manage_users_column_header") }}
<th class="controls" colspan="2">{{ "Controls" | translate }}</th>
</tr>
</thead>
<tbody>
{% for user in users.paginated %}
<tr id="user_{{ user.id }}" class="user">
<td class="user_name name main">
<a href="mailto:{{ user.email | fix(true) }}">{{ user.login }}</a>
{% if user.full_name is not empty %}<span class="sub">({{ user.full_name }})</span>{% endif %}
</td>
<td class="user_group value">
{{ user.group.name | fix }}
</td><commit_msg>Admin: removed unnecessary fixing in manage_users.twig<commit_after>{% extends "layouts" ~ DIR ~ "default.twig" %}

{% block title %}{{ "Manage Users" | translate }}{% endblock %}

{% block content %}
<form class="filters" action="{{ url('/') }}" method="get" accept-charset="UTF-8">
<fieldset>
<input type="hidden" name="action" value="manage_users">
<div role="search" class="filter_item">
<h3>
{{ "Search&hellip;" | translate }}
<a href="{{ url('help/id/filtering_results') }}" target="_blank" class="help emblem"><img src="{{ site.chyrp_url }}/admin/images/icons/help.svg" alt="help"></a>
</h3>
<input class="text filter_text" type="text" name="query" value="{{ GET.query | fix(true) }}" id="query">
<button type="submit">{{ "Search" | translate }}</button>
{% if visitor.group.can("add_user") %}
<a href="{{ url('new_user') }}" class="button yay">
<img src="{{ site.chyrp_url }}/admin/images/icons/add.svg" alt="add">{{ "New User" | translate }}
</a>
{% endif %}
</div>
</fieldset>
</form>
<h2>{{ GET.query is not empty ? "Search Results" | translate : "Users" | translate }}</h2>
<table>
<thead>
<tr class="head">
<th class="user_name name">{{ "Login (name)" | translate }}</th>
<th class="user_group value">{{ "Group" | translate }}</th>
<th class="user_joined date">{{ "Joined" | translate }}</th>
<th class="user_website name">{{ "Website" | translate }}</th>
<th class="user_activated emblem">{{ "Activated?" | translate }}</th>
{{ trigger.call("manage_users_column_header") }}
<th class="controls" colspan="2">{{ "Controls" | translate }}</th>
</tr>
</thead>
<tbody>
{% for user in users.paginated %}
<tr id="user_{{ user.id }}" class="user">
<td class="user_name name main">
<a href="mailto:{{ user.email | fix(true) }}">{{ user.login }}</a>
{% if user.full_name is not empty %}<span class="sub">({{ user.full_name }})</span>{% endif %}
</td>
<td class="user_group value">
{{ user.group.name }}
</td>
{'fraction_non_alphanumeric': 0.24782264449722882, 'fraction_numerical': 0.003167062549485352, 'mean_word_length': 6.08411214953271, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '4095329', 'n_tokens_mistral': 1371, 'n_tokens_neox': 1316, 'n_words': 335}