<commit_before>{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block content %}
    {% if is_granted('ROLE_SUPER_ADMIN') %}
        <a href="{{ path('KunstmaanAdminBundle_homepage_admin') }}" class="btn btn-default">
            {{ 'Edit dashboard' | trans }}
        </a>
    {% endif %}

    {% if dashboardConfiguration %}
        <header class="page-header">
            <h1>
                {{ dashboardConfiguration.title }}
            </h1>
        </header>
        {{ dashboardConfiguration.content | raw }}
    {% else %}
        <header class="page-header">
            <h1>
                {{ 'omnext.welcome' | trans | raw }}
            </h1>
        </header>
    {% endif %}
{% endblock %}
<commit_msg>Fix title and edit button styling of old dashboard<commit_after>{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block admin_page_title %}
    <div class="col-sm-6 col-md-8">
        {% if dashboardConfiguration %}
            <h1 class="app__content__header__title">
                {{ dashboardConfiguration.title }}
            </h1>
        {% else %}
            <h1 class="app__content__header__title">
                {{ 'omnext.welcome' | trans | raw }}
            </h1>
        {% endif %}
    </div>
{% endblock %}

{% block extra_actions_header %}
    {% if is_granted('ROLE_SUPER_ADMIN') %}
        <div class="col-sm-6 col-md-4">
            <div class="app__content__header__extra-actions">
                <div class="btn-group">
                    <a href="{{ path('KunstmaanAdminBundle_homepage_admin') }}" class="btn btn-default">
                        {{ 'Edit dashboard' | trans }}
                    </a>
                </div>
            </div>
        </div>
    {% endif %}
{% endblock %}

{% block content %}
    {% if dashboardConfiguration %}
        <div style="margin-top:25px">
            {{ dashboardConfiguration.content | raw }}
        </div>
    {% endif %}
{% endblock %}

{'fraction_non_alphanumeric': 0.15439309294057899, 'fraction_numerical': 0.007110208227526663, 'mean_word_length': 1.9056047197640118, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '1353183', 'n_tokens_mistral': 630, 'n_tokens_neox': 564, 'n_words': 106}