<commit_before><div data-ng-cloak class="rightpanel-content" id="featureprops-content" style="max-width: 355px">
    <h4 class="rightpanel-header">
        <!-- Show popup with complete title for long names -->
        <div ng-if="callOut.title.length >= 27" uib-popover="{{callOut.title}}" popover-placement="bottom" popover-trigger="mouseenter" popover-append-to-body="true">
            <img data-ng-if="callOut.icon" ng-src="{{callOut.icon}}" width="24" height="24" style="margin-left:5px" alt="Icon" /> &nbsp;&nbsp;{{callOut.title}}
        </div>
        <div ng-if="callOut.title.length < 27">
            <img data-ng-if="callOut.icon" ng-src="{{callOut.icon}}" width="24" height="24" style="margin-left:5px" alt="Icon" /> &nbsp;&nbsp;{{callOut.title}}
        </div>
    </h4>

    <div class="container-fluid rightpanel-tabs" style="position: relative;height:45px">
        <div class="row" style="overflow:hidden" ng-if="callOut.sectionCount() < 3" ng-hide="configMode">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs" id="featureTabs" style="margin-left:10px">
                <li data-toggle="tab" data-ng-class="{active : $first}" data-ng-repeat="key in callOut.sectionKeys" ng-if="callOut.sections[key].hasProperties()">
                    <a data-target="#rp-{{$index}}" data-toggle="tab" data-ng-if="callOut.sections[key].showSectionIcon()" ng-click="featureTabActivated(key, callOut.sections[key])"><i class="fa {{callOut.sections[key].sectionIcon}}"></i></a>
                    <a data-target="#rp-{{$index}}" data-toggle="tab" data-ng-if="!callOut.sections[key].showSectionIcon()" ng-click="featureTabActivated(key, callOut.sections[key])">{{key}}</a>
                </li>
            </ul>
        </div>

        <div class="row" ng-if="callOut.sectionCount() >= 3" ng-hide="configMode">
            <ul class="nav nav-tabs" id="featureTabs2" style="margin-left:10px">
                <li data-toggle="tab" class="active" ng-init="firstCallOutsection=callOut.firstSection()">
                    <a data-target="#rp-0" data-toggle="tab" data-ng-if="firstCallOutsection.showSectionIcon()">
                        <i class="fa {{firstCallOutsection.sectionIcon}}"></i>
                    </a>
                </li>
                <li class="dropdown" ng-init="selectedSection.title=vm.defaultDropdownTitle">
                    <a style="cursor:pointer" data-toggle="dropdown">{{selectedSection.title}} <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <!-- alphabetic sorting disappeared in 1.4 https://docs.angularjs.org/api/ng/directive/ngRepeat -->
                        <li data-ng-repeat="key in callOut.sectionKeys" ng-if="!($first && callOut.hasInfoSection)">
                            <a data-target="#rp-{{$index}}" ng-click="selectedSection.title = key" data-toggle="tab">{{key}}</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>

    

    <div ng-if="vm.$mapService.isAdminExpert">
        <div ng-if="configMode" style="margin:5px">
            <feature-type-editor featuretypeid="featureType.id"></feature-type-editor>
        </div>
    </div>

    <div ng-if="!configMode" class="tab-content" style="top:50px; overflow-y: auto; overflow-x: hidden; width: 100%" resize resize-y="150">
        
         <div class="layer-actions" ng-if="!configMode" style="background:white">
            <!--<div class="inner-addon left-addon" style="margin:5px;float:left" ng-focus="">
                <i class="fa fa-search"></i>
                <input type="text" ng-model="propFilter" expand-to="200px" style="width:100px;height:30px" />
            </div>-->

            <button ng-show="vm.$mapService.isExpert && feature.layer.isEditable && !feature._gui.editMode" ng-click="vm.startEditFeature()" class="layer-action"
                popover-placement="bottom" popover-width="300" popover-trigger="mouseenter" popover-append-to-body="true">
                <span class="fa fa-pencil layer-action-icon" />{{'EDIT' | translate}}
            </button>
            
             <button ng-show="vm.$mapService.isExpert && feature.layer.isEditable && feature._gui.editMode" ng-click="feature._gui.editMode=false;vm.saveFeature()" class="layer-action"
                popover-placement="bottom" popover-width="300" popover-trigger="mouseenter" popover-append-to-body="true">
                <span class="fa fa-check layer-action-icon" />{{'SAVE' | translate}}<commit_msg>featureprops: hide action bar if no options available<commit_after><div data-ng-cloak class="rightpanel-content" id="featureprops-content" style="max-width: 355px">
    <h4 class="rightpanel-header">
        <!-- Show popup with complete title for long names -->
        <div ng-if="callOut.title.length >= 27" uib-popover="{{callOut.title}}" popover-placement="bottom" popover-trigger="mouseenter" popover-append-to-body="true">
            <img data-ng-if="callOut.icon" ng-src="{{callOut.icon}}" width="24" height="24" style="margin-left:5px" alt="Icon" /> &nbsp;&nbsp;{{callOut.title}}
        </div>
        <div ng-if="callOut.title.length < 27">
            <img data-ng-if="callOut.icon" ng-src="{{callOut.icon}}" width="24" height="24" style="margin-left:5px" alt="Icon" /> &nbsp;&nbsp;{{callOut.title}}
        </div>
    </h4>

    <div class="container-fluid rightpanel-tabs" style="position: relative;height:45px">
        <div class="row" style="overflow:hidden" ng-if="callOut.sectionCount() < 3" ng-hide="configMode">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs" id="featureTabs" style="margin-left:10px">
                <li data-toggle="tab" data-ng-class="{active : $first}" data-ng-repeat="key in callOut.sectionKeys" ng-if="callOut.sections[key].hasProperties()">
                    <a data-target="#rp-{{$index}}" data-toggle="tab" data-ng-if="callOut.sections[key].showSectionIcon()" ng-click="featureTabActivated(key, callOut.sections[key])"><i class="fa {{callOut.sections[key].sectionIcon}}"></i></a>
                    <a data-target="#rp-{{$index}}" data-toggle="tab" data-ng-if="!callOut.sections[key].showSectionIcon()" ng-click="featureTabActivated(key, callOut.sections[key])">{{key}}</a>
                </li>
            </ul>
        </div>

        <div class="row" ng-if="callOut.sectionCount() >= 3" ng-hide="configMode">
            <ul class="nav nav-tabs" id="featureTabs2" style="margin-left:10px">
                <li data-toggle="tab" class="active" ng-init="firstCallOutsection=callOut.firstSection()">
                    <a data-target="#rp-0" data-toggle="tab" data-ng-if="firstCallOutsection.showSectionIcon()">
                        <i class="fa {{firstCallOutsection.sectionIcon}}"></i>
                    </a>
                </li>
                <li class="dropdown" ng-init="selectedSection.title=vm.defaultDropdownTitle">
                    <a style="cursor:pointer" data-toggle="dropdown">{{selectedSection.title}} <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <!-- alphabetic sorting disappeared in 1.4 https://docs.angularjs.org/api/ng/directive/ngRepeat -->
                        <li data-ng-repeat="key in callOut.sectionKeys" ng-if="!($first && callOut.hasInfoSection)">
                            <a data-target="#rp-{{$index}}" ng-click="selectedSection.title = key" data-toggle="tab">{{key}}</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>

    

    <div ng-if="vm.$mapService.isAdminExpert">
        <div ng-if="configMode" style="margin:5px">
            <feature-type-editor featuretypeid="featureType.id"></feature-type-editor>
        </div>
    </div>

    <div ng-if="!configMode" class="tab-content" style="top:50px; overflow-y: auto; overflow-x: hidden; width: 100%" resize resize-y="150">
        
         <div ng-show="vm.$mapService.isExpert && feature.layer.isEditable"class="layer-actions" ng-if="!configMode" style="background:white">
            <!--<div class="inner-addon left-addon" style="margin:5px;float:left" ng-focus="">
                <i class="fa fa-search"></i>
                <input type="text" ng-model="propFilter" expand-to="200px" style="width:100px;height:30px" />
            </div>-->

            <button ng-show="vm.$mapService.isExpert && feature.layer.isEditable && !feature._gui.editMode" ng-click="vm.startEditFeature()" class="layer-action"
                popover-placement="bottom" popover-width="300" popover-trigger="mouseenter" popover-append-to-body="true">
                <span class="fa fa-pencil layer-action-icon" />{{'EDIT' | translate}}
            </button>
            
             <button ng-show="vm.$mapService.isExpert && feature.layer.isEditable && feature._gui.editMode" ng-click="feature._gui.editMode=false;vm.saveFeature()" class="layer-action"
                popover-placement="bottom" popover-width="300" popover-trigger="mouseenter" popover-append-to-body="true">
                <span class="fa fa-check layer-action-icon" />{{'SAVE' | translate}}
{'fraction_non_alphanumeric': 0.18572825024437928, 'fraction_numerical': 0.011947431302270013, 'mean_word_length': 2.7294451194815714, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 2, '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': '1211626', 'n_tokens_mistral': 2933, 'n_tokens_neox': 2768, 'n_words': 439}