<commit_before><div id="leftcolumn" ng-controller="Umbraco.NavigationController" ng-mouseleave="leaveTree($event)" ng-mouseenter="enterTree($event)">

    <!-- navigation container -->
    <div id="navigation" ng-show="showNavigation" class="fill umb-modalcolumn" ng-animate="'slide'" nav-resize>

        <div ng-swipe-left="nav.hideNavigation()" class="navigation-inner-container">

            <div class="umb-language-picker" ng-if="currentSection === 'content'" on-outside-click="page.languageSelectorIsOpen = false">
                <div class="umb-language-picker__toggle" ng-click="toggleLanguageSelector()">
                    <div>{{selectedLanguage.name}}</div>
                    <ins class="umb-language-picker__expand" ng-class="{'icon-navigation-down': !page.languageSelectorIsOpen, 'icon-navigation-up': page.languageSelectorIsOpen}" class="icon-navigation-right">&nbsp;</ins>                
                </div>
                <div class="umb-language-picker__dropdown" ng-if="page.languageSelectorIsOpen">
                    <a ng-click="selectLanguage(language)" ng-repeat="language in languages" href="">{{language.name}}</a>
                </div>
            </div>

            <!-- the tree -->
            <div id="tree" ng-if="authenticated">
                <umb-tree
                    cachekey="_"
                    eventhandler="treeEventHandler"
                    section="{{currentSection}}">
                </umb-tree>
            </div>
        </div>

        <div class="offset6" id="navOffset" style="z-index: 10">

            <!-- The context menu -->
            <div id='contextMenu' class="umb-modalcolumn fill shadow" ng-swipe-left="nav.hideMenu()" ng-show="showContextMenu" ng-animate="'slide'">
                <umb-context-menu
                    menu-dialog-title="{{menuDialogTitle}}"
                    current-section="{{currentSection}}"
                    current-node="menuNode"
                    menu-actions="menuActions">
                </umb-context-menu>
            </div>


            <!-- Tree dialogs -->
            <div id="dialog" class='umb-modalcolumn fill shadow' ng-swipe-left="nav.hideDialog()" ng-show="showContextMenuDialog" ng-animate="'slide'">
                <div class='umb-modalcolumn-header'>
                    <h1>{{menuDialogTitle}}</h1>
                </div>
                <div class='umb-modalcolumn-body'>
                </div>
            </div>
        </div>
    </div>

</div><commit_msg>don't show the dropdown if there is only one language<commit_after><div id="leftcolumn" ng-controller="Umbraco.NavigationController" ng-mouseleave="leaveTree($event)" ng-mouseenter="enterTree($event)">

    <!-- navigation container -->
    <div id="navigation" ng-show="showNavigation" class="fill umb-modalcolumn" ng-animate="'slide'" nav-resize>

        <div ng-swipe-left="nav.hideNavigation()" class="navigation-inner-container">

            <div class="umb-language-picker" ng-if="currentSection === 'content' && languages.length > 1" on-outside-click="page.languageSelectorIsOpen = false">
                <div class="umb-language-picker__toggle" ng-click="toggleLanguageSelector()">
                    <div>{{selectedLanguage.name}}</div>
                    <ins class="umb-language-picker__expand" ng-class="{'icon-navigation-down': !page.languageSelectorIsOpen, 'icon-navigation-up': page.languageSelectorIsOpen}" class="icon-navigation-right">&nbsp;</ins>                
                </div>
                <div class="umb-language-picker__dropdown" ng-if="page.languageSelectorIsOpen">
                    <a ng-click="selectLanguage(language)" ng-repeat="language in languages" href="">{{language.name}}</a>
                </div>
            </div>

            <!-- the tree -->
            <div id="tree" ng-if="authenticated">
                <umb-tree
                    cachekey="_"
                    eventhandler="treeEventHandler"
                    section="{{currentSection}}">
                </umb-tree>
            </div>
        </div>

        <div class="offset6" id="navOffset" style="z-index: 10">

            <!-- The context menu -->
            <div id='contextMenu' class="umb-modalcolumn fill shadow" ng-swipe-left="nav.hideMenu()" ng-show="showContextMenu" ng-animate="'slide'">
                <umb-context-menu
                    menu-dialog-title="{{menuDialogTitle}}"
                    current-section="{{currentSection}}"
                    current-node="menuNode"
                    menu-actions="menuActions">
                </umb-context-menu>
            </div>


            <!-- Tree dialogs -->
            <div id="dialog" class='umb-modalcolumn fill shadow' ng-swipe-left="nav.hideDialog()" ng-show="showContextMenuDialog" ng-animate="'slide'">
                <div class='umb-modalcolumn-header'>
                    <h1>{{menuDialogTitle}}</h1>
                </div>
                <div class='umb-modalcolumn-body'>
                </div>
            </div>
        </div>
    </div>

</div>
{'fraction_non_alphanumeric': 0.15454545454545454, 'fraction_numerical': 0.002127659574468085, 'mean_word_length': 1.916525662718556, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 84, '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': '4233207', 'n_tokens_mistral': 1432, 'n_tokens_neox': 1282, 'n_words': 214}