<commit_before><div class="kit-cms-toolbar-top kit-cms-toolbar-main">
    <ul class="kit-cms-toolbar-top-actions">
        <li>
            <a href="{{ path('kitpages_cms_nav_arbo') }}">Tree</a>
        </li>

        <li>
            <a href="{{ path('kitpages_cms_nav_publish', { 'kitpages_target' : target }) }}">
                {% if isNavPublished == false %}<img src="{{asset("bundles/kitpagescms/icon/warning.png")}}"/>{%endif%}
                Publish Navigation
            </a>
        </li>

        <li>
            <a class="kit-cms-advanced-mode-button">Advanced Mode</a>
        </li>
        <script>
            $(".kit-cms-advanced-mode-button").click(function() {
                $(".kit-cms-advanced").toggle();
                $(".kit-cms-form .kit-cms-advanced").parent().toggle();
                $(this).toggleClass('kit-cms-advanced-mode-button-selected');
            });
            $(document).ready(function() {
                $(".kit-cms-advanced").hide();
                $(".kit-cms-form .kit-cms-advanced").parent().hide();
            });
        </script>
    </ul>
    <ul class="kit-cms-toolbar-top-context-switch">
        <li {% if kitCmsViewMode == 1 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 1, 'kitpages_target' : target , 'context': 'production'}) }}">Production</a>
        </li>
        <li {% if kitCmsViewMode == 2 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 2, 'kitpages_target' : target, 'context': 'preview' }) }}">Preview</a>
        </li>
        <li {% if kitCmsViewMode == 3 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 3, 'kitpages_target' : target, 'context': 'edit' }) }}">Edit</a>
        </li>
    </ul>
    <div style="clear:both;"></div>
</div>
<commit_msg>active Advanced Mode for ROLE_SUPERADMIN<commit_after><div class="kit-cms-toolbar-top kit-cms-toolbar-main">
    <ul class="kit-cms-toolbar-top-actions">
        <li>
            <a href="{{ path('kitpages_cms_nav_arbo') }}">Tree</a>
        </li>

        <li>
            <a href="{{ path('kitpages_cms_nav_publish', { 'kitpages_target' : target }) }}">
                {% if isNavPublished == false %}<img src="{{asset("bundles/kitpagescms/icon/warning.png")}}"/>{%endif%}
                Publish Navigation
            </a>
        </li>

        <li>
            <a class="kit-cms-advanced-mode-button">Advanced Mode</a>
        </li>
        <script>
            $(".kit-cms-advanced-mode-button").click(function() {
                $(".kit-cms-advanced").toggle();
                $(".kit-cms-form .kit-cms-advanced").parent().toggle();
                $(this).toggleClass('kit-cms-advanced-mode-button-selected');
            });
            {% if is_granted('ROLE_SUPERADMIN') is empty %}
            $(document).ready(function() {
                $(".kit-cms-advanced").hide();
                $(".kit-cms-form .kit-cms-advanced").parent().hide();
            });
            {% endif %}
        </script>
    </ul>
    <ul class="kit-cms-toolbar-top-context-switch">
        <li {% if kitCmsViewMode == 1 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 1, 'kitpages_target' : target , 'context': 'production'}) }}">Production</a>
        </li>
        <li {% if kitCmsViewMode == 2 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 2, 'kitpages_target' : target, 'context': 'preview' }) }}">Preview</a>
        </li>
        <li {% if kitCmsViewMode == 3 %}class="kit-cms-selected"{% endif %}>
            <a href="{{ path('kitpages_cms_admin_view_mode_change', { 'viewMode': 3, 'kitpages_target' : target, 'context': 'edit' }) }}">Edit</a>
        </li>
    </ul>
    <div style="clear:both;"></div>
</div>

{'fraction_non_alphanumeric': 0.20672478206724781, 'fraction_numerical': 0.0029887920298879204, 'mean_word_length': 2.297208538587849, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '5438143', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1253, 'n_words': 209}