<commit_before><div class="row">
    <div class="col-sm-5">
        <div ng-if="!catalogManagement.tree.length" class="no-matches">
            <b>There are no categories in this catalog. <span oc-if-roles="CategoryAdmin"><a ng-click="catalogManagement.createCategory()">Create one now.</a></span></b>
        </div>
        <script type="text/ng-template" id="nodes_renderer.html">
            <div class="tree-node tree-node-content" ng-class="{'inactive-node': !node.Active, 'selected-node': node.ID == catalogManagement.selectedCategoryID}">
                <i ng-if="node.children && node.children.length > 0" class="fa" ng-click="toggle(this)" ng-class="{
                        'fa-folder': !collapsed,
                        'fa-folder-open': collapsed
                    }">
                </i>
                <p ng-click="catalogManagement.categorySelected(node.ID)">{{node.Name}}</p>
                <i ui-tree-handle class="fa fa-reorder text-muted"></i>
            </div>
            <ol ui-tree-nodes ng-model="node.children" uib-collapse="!collapsed">
                <li ng-repeat="node in node.children" ui-tree-node ng-include="'nodes_renderer.html'"></li>
            </ol>
        </script>
        <section ng-if="catalogManagement.tree.length">
            <div oc-if-roles="CategoryAdmin">
                <button type="button" class="btn btn-primary" ng-click="catalogManagement.createCategory()">
                    <i class="fa fa-plus-circle" aria-hidden="true"></i>
                    New Category
                </button>
                <br>
                <br>
            </div>
            <div ui-tree="catalogManagement.treeOptions" id="tree-root" data-drag-delay="200">
                <ol ui-tree-nodes ng-model="catalogManagement.tree">
                    <li ng-repeat="node in catalogManagement.tree" ui-tree-node ng-include="'nodes_renderer.html'"></li>
                </ol>
            </div>
        </section>
    </div>
    <div class="col-sm-7" ui-view>
        <div ng-if="catalogManagement.tree.length && !catalogManagement.selectedCategoryID" class="well text-center">
            Select a category to view details
        </div>
    </div>
</div><commit_msg>Add cg-busy attribute to catalogManagment ui-view<commit_after><div class="row">
    <div class="col-sm-5">
        <div ng-if="!catalogManagement.tree.length" class="no-matches">
            <b>There are no categories in this catalog. <span oc-if-roles="CategoryAdmin"><a ng-click="catalogManagement.createCategory()">Create one now.</a></span></b>
        </div>
        <script type="text/ng-template" id="nodes_renderer.html">
            <div class="tree-node tree-node-content" ng-class="{'inactive-node': !node.Active, 'selected-node': node.ID == catalogManagement.selectedCategoryID}">
                <i ng-if="node.children && node.children.length > 0" class="fa" ng-click="toggle(this)" ng-class="{
                        'fa-folder': !collapsed,
                        'fa-folder-open': collapsed
                    }">
                </i>
                <p ng-click="catalogManagement.categorySelected(node.ID)">{{node.Name}}</p>
                <i ui-tree-handle class="fa fa-reorder text-muted"></i>
            </div>
            <ol ui-tree-nodes ng-model="node.children" uib-collapse="!collapsed">
                <li ng-repeat="node in node.children" ui-tree-node ng-include="'nodes_renderer.html'"></li>
            </ol>
        </script>
        <section ng-if="catalogManagement.tree.length">
            <div oc-if-roles="CategoryAdmin">
                <button type="button" class="btn btn-primary" ng-click="catalogManagement.createCategory()">
                    <i class="fa fa-plus-circle" aria-hidden="true"></i>
                    New Category
                </button>
                <br>
                <br>
            </div>
            <div ui-tree="catalogManagement.treeOptions" id="tree-root" data-drag-delay="200">
                <ol ui-tree-nodes ng-model="catalogManagement.tree">
                    <li ng-repeat="node in catalogManagement.tree" ui-tree-node ng-include="'nodes_renderer.html'"></li>
                </ol>
            </div>
        </section>
    </div>
    <div class="col-sm-7" cg-busy="application.stateLoading('catalogManagement')" ui-view>
        <div ng-if="catalogManagement.tree.length && !catalogManagement.selectedCategoryID" class="well text-center">
            Select a category to view details
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.15997352162400705, 'fraction_numerical': 0.00264783759929391, 'mean_word_length': 2.073220338983051, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 97, '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': '7148190', 'n_tokens_mistral': 1318, 'n_tokens_neox': 1269, 'n_words': 237}