<commit_before>[% PROCESS 'admin/header.html' title=loc('Summary') -%]
[% PROCESS 'admin/report_blocks.html' %]

[% status_message %]

<h2>[% loc('Submitted') %]</h2>
[% INCLUDE list, problems = unconfirmed.all %]

<h2>[% loc('Planned') %]</h2>
[% INCLUDE list, problems = approval.all %]

<h2 id="alle">[% loc('All reports') %]</h2>
[% INCLUDE list, problems = other.all, include_subdiv = 1 %]
[% INCLUDE 'pagination.html', admin = 1, param = 'p', hash = 'alle' %]

[% INCLUDE 'admin/footer.html' %]

[% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - c.req.params.d ) %][% ELSE %][% c.uri_with( { o => choice } ) %][% END %][% END %]

[% BLOCK list %]
<table cellspacing="0" cellpadding="2" border="1">
    <tr>
        <th>[% loc('ID') %]</th>
        <th>[% loc('Description') %]</th>
        <th><a href="[% INCLUDE sort_link choice = 'category' %]">[% loc('Category') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'created' %]">[% loc('Submitted') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'lastupdate' %]">[% loc('Updated') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'state' %]">[% loc('Status') %]</a></th>
    [% IF include_subdiv %]
        <th>[% loc('Subdivision/Body') %]</th>
    [% END %]
        <th>*</th>
    </tr>
    <tr class="filter-row">
        <td colspan="8"><input type="text" placeholder="[%= loc('Filter report list') %]" /></td>
    </tr><commit_msg>Fix undefined variable warning.<commit_after>[% PROCESS 'admin/header.html' title=loc('Summary') -%]
[% PROCESS 'admin/report_blocks.html' %]

[% status_message %]

<h2>[% loc('Submitted') %]</h2>
[% INCLUDE list, problems = unconfirmed.all %]

<h2>[% loc('Planned') %]</h2>
[% INCLUDE list, problems = approval.all %]

<h2 id="alle">[% loc('All reports') %]</h2>
[% INCLUDE list, problems = other.all, include_subdiv = 1 %]
[% INCLUDE 'pagination.html', admin = 1, param = 'p', hash = 'alle' %]

[% INCLUDE 'admin/footer.html' %]

[% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - (c.req.params.d||0) ) %][% ELSE %][% c.uri_with( { o => choice } ) %][% END %][% END %]

[% BLOCK list %]
<table cellspacing="0" cellpadding="2" border="1">
    <tr>
        <th>[% loc('ID') %]</th>
        <th>[% loc('Description') %]</th>
        <th><a href="[% INCLUDE sort_link choice = 'category' %]">[% loc('Category') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'created' %]">[% loc('Submitted') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'lastupdate' %]">[% loc('Updated') %]</a></th>
        <th><a href="[% INCLUDE sort_link choice = 'state' %]">[% loc('Status') %]</a></th>
    [% IF include_subdiv %]
        <th>[% loc('Subdivision/Body') %]</th>
    [% END %]
        <th>*</th>
    </tr>
    <tr class="filter-row">
        <td colspan="8"><input type="text" placeholder="[%= loc('Filter report list') %]" /></td>
    </tr>
{'fraction_non_alphanumeric': 0.2647359454855196, 'fraction_numerical': 0.009199318568994889, 'mean_word_length': 3.6382306477093205, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 83, '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': '6633741', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1134, 'n_words': 244}