<commit_before>{% include '_header.twig' with { 'active':'settings' } %}

{% import '_sub_pretty.twig' as pretty %}

<h1>{{ __('Files: %path%', { '%path%' : path } ) }}</h1>

{% if pathsegments|length > 1 %}
    <p>
        {{ __('Path:') }}

        {% for path, segment in pathsegments %}

            {% if not loop.first %} / {% endif %}

            <a href="{{ path('files', { 'path': path }) }}">
                {{segment}}
            </a>
        {% endfor %}
    </p>
{% endif %}

{% if folders|length > 0 %}
    <table class='dashboardlisting'>
        <tr>
            <th>{{ __('Folders') }}</th>
            <th colspan="2">{{ __('Modified') }}</th>
        </tr>
    {% for folder in folders %}
        <tr>
            <td>
                <a href="{{ path('files', { 'path': folder.newpath }) }}">
                    <i class="icon-folder-open"></i>
                    <b>{{ folder.foldername }}/</b>
                </a>
            </td>
            <td>
                <time class="moment" datetime="{{ folder.modified|date("c") }}" title="{{ folder.modified }}">
                    {{ folder.modified }}
                </time>
            </td>
            <td class="actions">
                <div class="btn-group">
                {% if folder.writable %}

                    <a class="btn dropdown-toggle btn-mini" data-toggle="dropdown">
                        <i class="icon-info-sign"></i>
                        {{ __('Options') }}
                        <span class="caret"></span>
                    </a>

                    <ul class="dropdown-menu pull-right">
                        <li>
                            <a href="#"
                               data-action="folders.rename('{{__("Please enter a new folder name")}}',
                                                           '{{ pathsegments|keys|last }}',
                                                           '{{ folder.foldername }}',
                                                           this);">

                                <i class="icon-keyboard"></i>
                                {{ __('Rename %foldername%', { '%foldername%': folder.foldername }) }}
                            </a>
                            <a href="#"<commit_msg>add namespace to folder link<commit_after>{% include '_header.twig' with { 'active':'settings' } %}

{% import '_sub_pretty.twig' as pretty %}

<h1>{{ __('Files: %path%', { '%path%' : path } ) }}</h1>

{% if pathsegments|length > 1 %}
    <p>
        {{ __('Path:') }}

        {% for path, segment in pathsegments %}

            {% if not loop.first %} / {% endif %}

            <a href="{{ path('files', { 'path': path }) }}">
                {{segment}}
            </a>
        {% endfor %}
    </p>
{% endif %}

{% if folders|length > 0 %}
    <table class='dashboardlisting'>
        <tr>
            <th>{{ __('Folders') }}</th>
            <th colspan="2">{{ __('Modified') }}</th>
        </tr>
    {% for folder in folders %}
        <tr>
            <td>
                <a href="{{ path('files', { 'path': folder.newpath, 'namespace':namespace }) }}">
                    <i class="icon-folder-open"></i>
                    <b>{{ folder.foldername }}/</b>
                </a>
            </td>
            <td>
                <time class="moment" datetime="{{ folder.modified|date("c") }}" title="{{ folder.modified }}">
                    {{ folder.modified }}
                </time>
            </td>
            <td class="actions">
                <div class="btn-group">
                {% if folder.writable %}

                    <a class="btn dropdown-toggle btn-mini" data-toggle="dropdown">
                        <i class="icon-info-sign"></i>
                        {{ __('Options') }}
                        <span class="caret"></span>
                    </a>

                    <ul class="dropdown-menu pull-right">
                        <li>
                            <a href="#"
                               data-action="folders.rename('{{__("Please enter a new folder name")}}',
                                                           '{{ pathsegments|keys|last }}',
                                                           '{{ folder.foldername }}',
                                                           this);">

                                <i class="icon-keyboard"></i>
                                {{ __('Rename %foldername%', { '%foldername%': folder.foldername }) }}
                            </a>
                            <a href="#"
{'fraction_non_alphanumeric': 0.174956369982548, 'fraction_numerical': 0.002181500872600349, 'mean_word_length': 1.0897903372835005, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '613927', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1137, 'n_words': 248}