<commit_before>{% if current_user != null %}
    {% set inactive = not (current_page.editable and has_page_privileges) %}
    <div id='UserSettingsContainer'>
        <div id='UserSettingsMenu'>
            <ul>
                <li class='page active' title='Rediger side'>&nbsp;</li>
                <li class='pages' title='Administrer sider'>&nbsp;</li>
                <li class='user ' title='Rediger oplysninger'>&nbsp;</li>
                <li class='users' title='Administrer brugere'>&nbsp;</li>
                {% if config.updaterEnabled and  has_site_privileges %}
                    <li class='update_site' title='Opdater website'>&nbsp;</li>
                {% endif %}
                {% if has_root_privileges %}
                    <li class='log ' title='Administrer log'>&nbsp;</li>
                {% endif %}
                {% block user_settings_menu %}
                {% endblock %}
                <!-- <li class='mail ' title='Administrer mailkonti'>&nbsp;</li>-->
            </ul>
        </div>
        <div id='UserSettingsContractLink'>&nbsp;</div>
        <div id='UserSettingsContent'>
            <ul>
                <li class="{{ inactive?"inactive":"" }}">
                    {% if inactive %}
                        <div class='inactiveFilter' title='Du kan ikke redigere denne side'>&nbsp;</div>
                    {% endif %}
                    <h2>Rediger Side</h2>
                    {% page_element user_settings_page %}
                </li>
                <li>
                    <h2>Administrer Sider</h2>
                    {% page_element user_settings_pages %}
                </li>
                <li>
                    <h2>Rediger Oplysninger</h2>
                    {% page_element user_settings_user %}
                </li>
                <li>
                    <h2>Administrer Brugere</h2>
                    {% page_element user_settings_users %}
                </li>
                {% if config.updaterEnabled and  has_site_privileges %}
                    <li>
                        <h2>Opdater Website</h2>
                        {% page_element user_settings_update %}
                    </li>
                {% endif %}
                {% if has_root_privileges %}
                    <li>
                        <h2>Log</h2>
                        {% page_element user_settings_log %}
                    </li>
                {% endif %}
                {% block user_settings %}
                {% endblock %}
            </ul>
        </div>
    </div>
    <div id='UserSettingsExpandLink'>
        &nbsp;
    </div>
    <div id='UpdateInformationMessage' {{ (config.updaterEnabled and updater.checkForUpdates(true))?"":"hidden" }}>
        Siden kan opdateres. Klik <a href='#'>her</a> for at starte opdateringen.
    </div>
    <div id='LoginUserMessage'>
        Du er logget ind som <i>{{ current_user.username }}</i>, <a href='/logout'>log ud</a>.
    </div>
{% endif %}<commit_msg>Fixed #70<commit_after>{% if current_user != null %}
    {% set inactive = not (current_page.editable and has_page_privileges) %}
    <div id='UserSettingsContainer'>
        <div id='UserSettingsMenu'>
            <ul>
                <li class='page active' title='Rediger side'>&nbsp;</li>
                <li class='pages' title='Administrer sider'>&nbsp;</li>
                <li class='user ' title='Rediger oplysninger'>&nbsp;</li>
                <li class='users' title='Administrer brugere'>&nbsp;</li>
                {% if config.updaterEnabled and  has_site_privileges %}
                    <li class='update_site' title='Opdater website'>&nbsp;</li>
                {% endif %}
                {% if has_root_privileges %}
                    <li class='log ' title='Administrer log'>&nbsp;</li>
                {% endif %}
                {% block user_settings_menu %}
                {% endblock %}
                <!-- <li class='mail ' title='Administrer mailkonti'>&nbsp;</li>-->
            </ul>
        </div>
        <div id='UserSettingsContractLink'>&nbsp;</div>
        <div id='UserSettingsContent'>
            <ul>
                <li class="{{ inactive?"inactive":"" }}">
                    {% if inactive %}
                        <div class='inactiveFilter' title='Du kan ikke redigere denne side'>&nbsp;</div>
                    {% endif %}
                    <h2>Rediger Side</h2>
                    {% page_element UserSettingsEditPagePageElementImpl %}
                </li>
                <li>
                    <h2>Administrer Sider</h2>
                    {% page_element UserSettingsEditPagesPageElementImpl %}
                </li>
                <li>
                    <h2>Rediger Oplysninger</h2>
                    {% page_element UserSettingsEditUserPageElementImpl %}
                </li>
                <li>
                    <h2>Administrer Brugere</h2>
                    {% page_element UserSettingsEditUsersPageElementImpl %}
                </li>
                {% if config.updaterEnabled and  has_site_privileges %}
                    <li>
                        <h2>Opdater Website</h2>
                        {% page_element UserSettingsUpdateWebsitePageElementImpl %}
                    </li>
                {% endif %}
                {% if has_root_privileges %}
                    <li>
                        <h2>Log</h2>
                        {% page_element UserSettingsEditLogPageElementImpl %}
                    </li>
                {% endif %}
                {% block user_settings %}
                {% endblock %}
            </ul>
        </div>
    </div>
    <div id='UserSettingsExpandLink'>
        &nbsp;
    </div>
    <div id='UpdateInformationMessage' {{ (config.updaterEnabled and updater.checkForUpdates(true))?"":"hidden" }}>
        Siden kan opdateres. Klik <a href='#'>her</a> for at starte opdateringen.
    </div>
    <div id='LoginUserMessage'>
        Du er logget ind som <i>{{ current_user.username }}</i>, <a href='/logout'>log ud</a>.
    </div>
{% endif %}
{'fraction_non_alphanumeric': 0.13380630259033163, 'fraction_numerical': 0.004289721168124072, 'mean_word_length': 1.4267413931144917, 'pattern_counts': {'":': 4, '<': 133, '<?xml version=': 0, '>': 133, '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': '7459909', 'n_tokens_mistral': 1801, 'n_tokens_neox': 1588, 'n_words': 319}