<commit_before><article class="paramServices ten cell" ng-controller="ServiceController">
    <div id="structure-loader" class="overlay" ng-show="displayMessageLoader">
        <div>
            <h4 class="content-loader">Chargement en cours...</h4>
        </div>
    </div>

    <div class="twelve twelve-mobile">

        <h3>
            <i18n>evaluation.service.title</i18n>
        </h3>

        <div class="row cell twelve-mobile">
            <input type="text"
                   i18n-placeholder="viescolaire.utils.search" class="nine cell"
                   ng-keyup="saveSearch($event)">
            <div class="three cell">
                <button class="right-magnet" ng-click="openCreateLightbox()">
                    <i18n>evaluation.service.lightboxes.create</i18n>
                </button>
                <!--                <button class="cancel right-magnet">-->
                <!--                    <i18n>param.service.order.display.button</i18n>-->
                <!--                </button>-->
            </div>
            <div class="row horizontal-spacing">
                <div class="select-blocks">
                    <div ng-repeat="search in searchToFilter track by $index"
                         ng-click="dropSearchFilter(search)"
                         class="labels-in-line">
                        [[search]]
                    </div>
                    <div ng-repeat="search in searchForClasse track by $index"
                         ng-click="dropSearchClass(search)"
                         class="labels-in-line">
                        [[search]]
                    </div>
                </div>
            </div>
        </div>



        <div class="row">
            <div class="twelve cell">
                <button ng-repeat="type in typeGroupes"
                        ng-class="{selected : type.isSelected}"
                        ng-click="updateFilter(type)"
                        class="filterButton">
                    <span>[[lang.translate(type.name)]]</span>
                </button>
            </div>
            <div class="twelve cell">
                <div class="row tab-header"  offset="64">

                    <span    class="[[columns.matiere.size]] cell-indent cell service-tab-header-center">
                       <h4 ng-click="changeSort('topicName')"
                           class="">[[lang.translate(columns.matiere.name)]]
                           <span ng-show="sortBy === 'topicName'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                       </h4>
                    </span>
                    <span    class="[[columns.classe.size]] cell-indent cell service-tab-header-left">
                    <h4  ng-click="changeSort('nom_groupe')">[[lang.translate(columns.classe.name)]]
                              <span ng-show="sortBy === 'nom_groupe'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                    </h4>

                    </span>
                    <span    class="[[columns.enseignant.size]] cell-indent cell service-tab-header-center">
                    <h4 ng-click="changeSort('nom_enseignant')">[[lang.translate(columns.enseignant.name)]]
                        <span ng-show="sortBy === 'nom_enseignant'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                     </h4>
                    </span>
                    <span    class="[[columns.remplacement.size]] cell-indent cell service-tab-header-center">
                    <h4 ng-click="changeSort('remplacement')">[[lang.translate(columns.remplacement.name)]]
                         <span ng-show="sortBy === 'remplacement'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span> </h4>
                    </span>
                    <span    class="[[columns.actions.size]] cell-indent cell service-tab-header-center">
                    <h4>[[lang.translate(columns.actions.name)]]
                        </h4>
                    </span>
                </div>

                <div  class="loaderArray loaderCenter" ng-show="displayArrayLoader" >
                </div>
                <div ng-show="!displayArrayLoader" class="service-list-container"
                     ng-repeat="service in (filteredItems = (services | orderBy:sortBy:!sortByAsc | filter:filterSearch())) track by $index ">
                    <div class="row serviceList" ng-click="deploySubtopics(service)" ng-class="{'active':service.deploy}">
                        <div class="[[columns.matiere.size]] cellTab ellipsis cellTab-left"  tooltip="[[service.topicName]]">
                            <span>[[service.topicName]]</span></div>
                        <div class="[[columns.classe.size]]  cellTab ellipsis cellTab-left" tooltip=" [[service.groups_name]]">
                            [[service.groups_name ? service.groups_name : service.nom_groupe]]
                        </div>
                        <div class="[[columns.enseignant.size]] cellTab cellTab-center">
                            <span>
                                [[service.nom_enseignant]]
                            </span>
                            <div class ='padding-top' ng-if="service.coTeachers.length > 0"
                                 ng-repeat="coTeacher in service.coTeachers">
                                [[coTeacher.displayName]]
                                <i class="cancel" ng-click="deleteCoTeacher(coTeacher)" ></i>
                            </div>
                        </div>
                        <div class="[[columns.remplacement.size]] cellTab cellTab-center">
                            <div ng-if="service.substituteTeachers.length > 0"
                                 ng-repeat="substituteTeacher in service.substituteTeachers">
                                <span ng-if="substituteTeacher.displayName.length > 0"
                                      ng-class="{'greyColor' : !filterValidDateSubstituteTeacher(substituteTeacher)}"
                                      tooltip="[[getI18n('evaluation.service.columns.remplacement')]]
                                    [[getI18n('viescolaire.utils.from.date')]]
                                    [[substituteTeacher.start_date | date:'dd/MM/yyyy']]
                                    [[getI18n('viescolaire.utils.to.date')]]
                                    [[substituteTeacher.end_date | date:'dd/MM/yyyy']]<br>
                                    [[getI18n('viescolaire.utils.datefinsaisie')]]
                                    [[substituteTeacher.entered_end_date | date:'dd/MM/yyyy']]">
                                [[substituteTeacher.displayName]] </span>
                                <i class="pencil" ng-click="openAddTeacherLightbox(service, false, substituteTeacher);$event.stopPropagation()"></i>
                            </div>

                            <div class="svg-image">
                                <input type="image" class="image-center" src="/viescolaire/public/img/scss/plus-circle.svg"
                                       ng-click="openAddTeacherLightbox(service, false); $event.stopPropagation()" alt="plop">
                            </div>
                        </div>

                        <div class="cellTab ellipsis cellTab-center">
                            <div>
                                <div class="svg-image"><commit_msg>[CO-1306] Remove edit remplacant inexistant<commit_after><article class="paramServices ten cell" ng-controller="ServiceController">
    <div id="structure-loader" class="overlay" ng-show="displayMessageLoader">
        <div>
            <h4 class="content-loader">Chargement en cours...</h4>
        </div>
    </div>

    <div class="twelve twelve-mobile">

        <h3>
            <i18n>evaluation.service.title</i18n>
        </h3>

        <div class="row cell twelve-mobile">
            <input type="text"
                   i18n-placeholder="viescolaire.utils.search" class="nine cell"
                   ng-keyup="saveSearch($event)">
            <div class="three cell">
                <button class="right-magnet" ng-click="openCreateLightbox()">
                    <i18n>evaluation.service.lightboxes.create</i18n>
                </button>
                <!--                <button class="cancel right-magnet">-->
                <!--                    <i18n>param.service.order.display.button</i18n>-->
                <!--                </button>-->
            </div>
            <div class="row horizontal-spacing">
                <div class="select-blocks">
                    <div ng-repeat="search in searchToFilter track by $index"
                         ng-click="dropSearchFilter(search)"
                         class="labels-in-line">
                        [[search]]
                    </div>
                    <div ng-repeat="search in searchForClasse track by $index"
                         ng-click="dropSearchClass(search)"
                         class="labels-in-line">
                        [[search]]
                    </div>
                </div>
            </div>
        </div>



        <div class="row">
            <div class="twelve cell">
                <button ng-repeat="type in typeGroupes"
                        ng-class="{selected : type.isSelected}"
                        ng-click="updateFilter(type)"
                        class="filterButton">
                    <span>[[lang.translate(type.name)]]</span>
                </button>
            </div>
            <div class="twelve cell">
                <div class="row tab-header"  offset="64">

                    <span    class="[[columns.matiere.size]] cell-indent cell service-tab-header-center">
                       <h4 ng-click="changeSort('topicName')"
                           class="">[[lang.translate(columns.matiere.name)]]
                           <span ng-show="sortBy === 'topicName'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                       </h4>
                    </span>
                    <span    class="[[columns.classe.size]] cell-indent cell service-tab-header-left">
                    <h4  ng-click="changeSort('nom_groupe')">[[lang.translate(columns.classe.name)]]
                              <span ng-show="sortBy === 'nom_groupe'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                    </h4>

                    </span>
                    <span    class="[[columns.enseignant.size]] cell-indent cell service-tab-header-center">
                    <h4 ng-click="changeSort('nom_enseignant')">[[lang.translate(columns.enseignant.name)]]
                        <span ng-show="sortBy === 'nom_enseignant'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span>
                     </h4>
                    </span>
                    <span    class="[[columns.remplacement.size]] cell-indent cell service-tab-header-center">
                    <h4 ng-click="changeSort('remplacement')">[[lang.translate(columns.remplacement.name)]]
                         <span ng-show="sortBy === 'remplacement'" ng-class="{'filter-up' : !sortByAsc,'filter-down' :sortByAsc}"></span> </h4>
                    </span>
                    <span    class="[[columns.actions.size]] cell-indent cell service-tab-header-center">
                    <h4>[[lang.translate(columns.actions.name)]]
                        </h4>
                    </span>
                </div>

                <div  class="loaderArray loaderCenter" ng-show="displayArrayLoader" >
                </div>
                <div ng-show="!displayArrayLoader" class="service-list-container"
                     ng-repeat="service in (filteredItems = (services | orderBy:sortBy:!sortByAsc | filter:filterSearch())) track by $index ">
                    <div class="row serviceList" ng-click="deploySubtopics(service)" ng-class="{'active':service.deploy}">
                        <div class="[[columns.matiere.size]] cellTab ellipsis cellTab-left"  tooltip="[[service.topicName]]">
                            <span>[[service.topicName]]</span></div>
                        <div class="[[columns.classe.size]]  cellTab ellipsis cellTab-left" tooltip=" [[service.groups_name]]">
                            [[service.groups_name ? service.groups_name : service.nom_groupe]]
                        </div>
                        <div class="[[columns.enseignant.size]] cellTab cellTab-center">
                            <span>
                                [[service.nom_enseignant]]
                            </span>
                            <div class ='padding-top' ng-if="service.coTeachers.length > 0"
                                 ng-repeat="coTeacher in service.coTeachers">
                                <div ng-if="coTeacher.displayName.length > 0">
                                    [[coTeacher.displayName]]
                                    <i class="cancel" ng-click="deleteCoTeacher(coTeacher)" ></i>
                                </div>
                            </div>
                        </div>
                        <div class="[[columns.remplacement.size]] cellTab cellTab-center">
                            <div ng-if="service.substituteTeachers.length > 0"
                                 ng-repeat="substituteTeacher in service.substituteTeachers">
                                <div ng-if="substituteTeacher.displayName.length > 0">
                                    <span ng-class="{'greyColor' : !filterValidDateSubstituteTeacher(substituteTeacher)}"
                                          tooltip="[[getI18n('evaluation.service.columns.remplacement')]]
                                    [[getI18n('viescolaire.utils.from.date')]]
                                    [[substituteTeacher.start_date | date:'dd/MM/yyyy']]
                                    [[getI18n('viescolaire.utils.to.date')]]
                                    [[substituteTeacher.end_date | date:'dd/MM/yyyy']]<br>
                                    [[getI18n('viescolaire.utils.datefinsaisie')]]
                                    [[substituteTeacher.entered_end_date | date:'dd/MM/yyyy']]">
                                        [[substituteTeacher.displayName]]
                                    </span>
                                    <i class="pencil" ng-click="openAddTeacherLightbox(service, false, substituteTeacher);$event.stopPropagation()"></i>
                                </div>
                            </div>

                            <div class="svg-image">
                                <input type="image" class="image-center" src="/viescolaire/public/img/scss/plus-circle.svg"
                                       ng-click="openAddTeacherLightbox(service, false); $event.stopPropagation()" alt="plop">
                            </div>
                        </div>

                        <div class="cellTab ellipsis cellTab-center">
                            <div>
                                <div class="svg-image">
{'fraction_non_alphanumeric': 0.13640843682239306, 'fraction_numerical': 0.005716538537354623, 'mean_word_length': 1.3582274558413387, 'pattern_counts': {'":': 0, '<': 221, '<?xml version=': 0, '>': 228, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '982218', 'n_tokens_mistral': 4110, 'n_tokens_neox': 3770, 'n_words': 575}