<commit_before><!DOCTYPE html>
<html lang="{{ admin_config('locale') }}">
<head>
    {% block head %}
        <title>
            {% block title %}{{ admin_config('title') }}{% endblock %}
        </title>

        {% block meta %}
            <meta charset="utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
            <meta name="description" content="{{ admin_config('description') }}" />
        {% endblock %}

        {% block stylesheets %}
            <link rel="stylesheet" href="{{ asset('bundles/lagadmin/css/admin.css') }}">
        {% endblock %}
    {% endblock %}
</head>

{% block html %}
<body>
{% block body %}
    {% set admin = admin|default(null) %}

    {% block navbar %}
        <header class="navbar navbar-light bg-light navbar navbar-expand flex-column flex-md-row bd-navbar">
            <a href="{{ path('admin.homepage') }}" class="navbar-brand">
                {% block brand %}{% endblock %}
            </a>

            {% if is_granted('ROLE_USER') %}
                {% block top_menu %}
                    <div class="navbar-nav">
                        {{ admin_menu_render('top') | raw }}
                    </div>
                {% endblock %}
            {% endif %}
        </header>
    {% endblock %}

    {% block layout %}
        <div class="container-fluid">
            <div class="row">
                <div id="main-menu-container"
                     class="col-4 col-xl-2"
                     role="navigation">
                    {% if is_granted('ROLE_USER') %}
                        {% block left_menu %}
                            {{ admin_menu_render('main') | raw }}
                        {% endblock %}
                    {% endblock %}
                </div>

                {% block content_container %}
                    <main class="col-7 col-xl-8"
                          role="main">

                        {% block flash_messages %}
                            {% include "LAGAdminBundle:Layout:flash_messages.html.twig" %}
                        {% endblock %}
<commit_msg>fix the main menu permissions in the base template<commit_after><!DOCTYPE html>
<html lang="{{ admin_config('locale') }}">
<head>
    {% block head %}
        <title>
            {% block title %}{{ admin_config('title') }}{% endblock %}
        </title>

        {% block meta %}
            <meta charset="utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
            <meta name="description" content="{{ admin_config('description') }}" />
        {% endblock %}

        {% block stylesheets %}
            <link rel="stylesheet" href="{{ asset('bundles/lagadmin/css/admin.css') }}">
        {% endblock %}
    {% endblock %}
</head>

{% block html %}
<body>
{% block body %}
    {% set admin = admin|default(null) %}

    {% block navbar %}
        <header class="navbar navbar-light bg-light navbar navbar-expand flex-column flex-md-row bd-navbar">
            <a href="{{ path('admin.homepage') }}" class="navbar-brand">
                {% block brand %}{% endblock %}
            </a>

            {% if is_granted('ROLE_USER') %}
                {% block top_menu %}
                    <div class="navbar-nav">
                        {{ admin_menu_render('top') | raw }}
                    </div>
                {% endblock %}
            {% endif %}
        </header>
    {% endblock %}

    {% block layout %}
        <div class="container-fluid">
            <div class="row">
                <div id="main-menu-container"
                     class="col-4 col-xl-2"
                     role="navigation">
                    {% if is_granted('ROLE_USER') %}
                        {% block left_menu %}
                            {{ admin_menu_render('main') | raw }}
                        {% endblock %}
                    {% endif %}
                </div>

                {% block content_container %}
                    <main class="col-7 col-xl-8"
                          role="main">

                        {% block flash_messages %}
                            {% include "LAGAdminBundle:Layout:flash_messages.html.twig" %}
                        {% endblock %}

{'fraction_non_alphanumeric': 0.15746606334841629, 'fraction_numerical': 0.0027149321266968325, 'mean_word_length': 1.4438916528468768, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '1364681', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1141, 'n_words': 230}