<commit_before>{% extends 'SonataAdminBundle::standard_layout.html.twig' %}

{% block stylesheets %}
{{parent()}}
<link rel="stylesheet" href="{{ asset('stylesheets/select2.css') }}" type="text/css" media="all" />
{% if form is defined %}{{ form_stylesheet(form) }}{% endif %}
{% endblock %}

{% block javascripts %}
{{parent()}}
<script src="{{ asset('javascripts/select2.min.js') }}" type="text/javascript"></script>
{% if form is defined %}{{ form_javascript(form) }}{% endif %}
{% endblock %}

{% block logo %}
    <a href="{{ url('sonata_admin_dashboard') }}" class="brand">
        <img src="{{ asset(admin_pool.titlelogo) }}"  alt="{{ admin_pool.title }}" />
        {{ admin_pool.title }}
    </a>
    <div style="float: right; text-align: center;">
        <div>
            {{app.user.username}} | {% if is_granted('ROLE_KEDO') %}{{'ROLE_KEDO'|trans({})}}{% elseif is_granted('ROLE_HELPDESK') %}{{'ROLE_HELPDESK'|trans({})}}{% else %}{{'ROLE_USER'|trans({})}}{% endif %}
        </div>
        <div>
            <a href="{{ url('fos_user_security_logout') }}" style="float: right;">
                {{'Logout'|trans()}}
            </a>
        </div>
    </div>
{% endblock %}

{% block footer %}
<script>
jQuery(document).ready(function(){
    jQuery.datepicker.setDefaults( jQuery.datepicker.regional[ "" ] );
    jQuery(".datepicker").datepicker( jQuery.datepicker.regional[ "en" ]);
});
</script>
{% endblock %}<commit_msg>Show the unit name on the top right<commit_after>{% extends 'SonataAdminBundle::standard_layout.html.twig' %}

{% block stylesheets %}
{{parent()}}
<link rel="stylesheet" href="{{ asset('stylesheets/select2.css') }}" type="text/css" media="all" />
{% if form is defined %}{{ form_stylesheet(form) }}{% endif %}
{% endblock %}

{% block javascripts %}
{{parent()}}
<script src="{{ asset('javascripts/select2.min.js') }}" type="text/javascript"></script>
{% if form is defined %}{{ form_javascript(form) }}{% endif %}
{% endblock %}

{% block logo %}
    <a href="{{ url('sonata_admin_dashboard') }}" class="brand">
        <img src="{{ asset(admin_pool.titlelogo) }}"  alt="{{ admin_pool.title }}" />
        {{ admin_pool.title }}
    </a>
    <div style="float: right; text-align: center;">
        <div>
            {{app.user.username}} | {{app.user.unit.name}} | {% if is_granted('ROLE_KEDO') %}{{'ROLE_KEDO'|trans({})}}{% elseif is_granted('ROLE_HELPDESK') %}{{'ROLE_HELPDESK'|trans({})}}{% else %}{{'ROLE_USER'|trans({})}}{% endif %}
        </div>
        <div>
            <a href="{{ url('fos_user_security_logout') }}" style="float: right;">
                {{'Logout'|trans()}}
            </a>
        </div>
    </div>
{% endblock %}

{% block footer %}
<script>
jQuery(document).ready(function(){
    jQuery.datepicker.setDefaults( jQuery.datepicker.regional[ "" ] );
    jQuery(".datepicker").datepicker( jQuery.datepicker.regional[ "en" ]);
});
</script>
{% endblock %}
{'fraction_non_alphanumeric': 0.23332192952446118, 'fraction_numerical': 0.0013684570646595963, 'mean_word_length': 3.9475465313028764, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '412248', 'n_tokens_mistral': 1046, 'n_tokens_neox': 967, 'n_words': 178}