<commit_before><?php $this->applyTemplateHook('opportunity-evaluations--committee--table','before'); ?>
<header id="header-inscritos" class="clearfix">
    <?php $this->applyTemplateHook('opportunity-evaluations--committee--table','begin'); ?>

    <h3><?php \MapasCulturais\i::_e("Avaliações");?></h3>
</header>
<?php if($entity->isUserEvaluationsSent()): ?>
    <div id='status-info' class="alert success">
        <span><?php \MapasCulturais\i::_e("Suas avaliações já foram enviadas:");?></span>

        <div class="close"></div>
    </div>
<?php else: ?>
    <div id='status-info' class="alert info">
        <span><?php \MapasCulturais\i::_e("Após avaliar todas as inscrições clique no botão <strong>Enviar Avaliações</strong>:");?></span>

        <div class="close"></div>
    </div>
<?php endif?>

<?php $this->part('singles/opportunity-evaluations--committee--buttons', ['entity' => $entity]) ?>

<table class="js-registration-list registrations-table" ng-class="{'no-options': data.entity.registrationCategories.length === 0, 'no-attachments': data.entity.registrationFileConfigurations.length === 0, 'registrations-results': data.entity.published}">
<thead>
    
        <tr>
        <?php $this->applyTemplateHook('opportunity-evaluations--committee--table-thead-tr','begin'); ?>    
            <th class="registration-id-col">
                <?php \MapasCulturais\i::_e("Inscrição");?>
            </th>
            <th ng-if="data.entity.registrationCategories" class="registration-option-col">
                <mc-select placeholder="status" model="data.registrationCategory" data="data.registrationCategoriesToFilter"></mc-select>
            </th>
            <th class="registration-agents-col">
                <?php \MapasCulturais\i::_e("Agentes");?>
            </th>
            <th ng-if="data.entity.registrationFileConfigurations.length > 0" class="registration-attachments-col">
                <?php \MapasCulturais\i::_e("Anexos");?>
            </th>
            <th class="registration-status-col">
                <mc-select placeholder="<?php \MapasCulturais\i::esc_attr_e("Status"); ?>" model="evaluationsFilters['status']" data="data.evaluationStatuses"></mc-select>
            </th>
            <th class="registration-status-col">
                <?php \MapasCulturais\i::esc_attr_e("Avaliação"); ?>
            </th>
            <?php $this->applyTemplateHook('opportunity-evaluations--committee--table-thead-tr','end'); ?>    
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan='10'>
                <span ng-if="data.evaluations.length === 0"><?php \MapasCulturais\i::_e("Nenhuma avaliação enviada.");?></span>
                <span ng-if="data.evaluations.length === 1"><?php \MapasCulturais\i::_e("1 avaliação encontrada.");?></span>                
                <span ng-if="data.evaluations.length > 1">{{data.evaluations.length}}
                    <span ng-if="data.evaluationsAPIMetadata.count > 0"><commit_msg>Corrige filtro por categoria na aba de avaliações na tela do avaliador<commit_after><?php $this->applyTemplateHook('opportunity-evaluations--committee--table','before'); ?>
<header id="header-inscritos" class="clearfix">
    <?php $this->applyTemplateHook('opportunity-evaluations--committee--table','begin'); ?>

    <h3><?php \MapasCulturais\i::_e("Avaliações");?></h3>
</header>
<?php if($entity->isUserEvaluationsSent()): ?>
    <div id='status-info' class="alert success">
        <span><?php \MapasCulturais\i::_e("Suas avaliações já foram enviadas:");?></span>

        <div class="close"></div>
    </div>
<?php else: ?>
    <div id='status-info' class="alert info">
        <span><?php \MapasCulturais\i::_e("Após avaliar todas as inscrições clique no botão <strong>Enviar Avaliações</strong>:");?></span>

        <div class="close"></div>
    </div>
<?php endif?>

<?php $this->part('singles/opportunity-evaluations--committee--buttons', ['entity' => $entity]) ?>

<table class="js-registration-list registrations-table" ng-class="{'no-options': data.entity.registrationCategories.length === 0, 'no-attachments': data.entity.registrationFileConfigurations.length === 0, 'registrations-results': data.entity.published}">
<thead>
    
        <tr>
        <?php $this->applyTemplateHook('opportunity-evaluations--committee--table-thead-tr','begin'); ?>    
            <th class="registration-id-col">
                <?php \MapasCulturais\i::_e("Inscrição");?>
            </th>
            <th ng-if="data.entity.registrationCategories" class="registration-option-col">
                <mc-select placeholder="status" model="evaluationsFilters['registration:category']" data="data.registrationCategoriesToFilter"></mc-select>
            </th>
            <th class="registration-agents-col">
                <?php \MapasCulturais\i::_e("Agentes");?>
            </th>
            <th ng-if="data.entity.registrationFileConfigurations.length > 0" class="registration-attachments-col">
                <?php \MapasCulturais\i::_e("Anexos");?>
            </th>
            <th class="registration-status-col">
                <mc-select placeholder="<?php \MapasCulturais\i::esc_attr_e("Status"); ?>" model="evaluationsFilters['status']" data="data.evaluationStatuses"></mc-select>
            </th>
            <th class="registration-status-col">
                <?php \MapasCulturais\i::esc_attr_e("Avaliação"); ?>
            </th>
            <?php $this->applyTemplateHook('opportunity-evaluations--committee--table-thead-tr','end'); ?>    
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan='10'>
                <span ng-if="data.evaluations.length === 0"><?php \MapasCulturais\i::_e("Nenhuma avaliação enviada.");?></span>
                <span ng-if="data.evaluations.length === 1"><?php \MapasCulturais\i::_e("1 avaliação encontrada.");?></span>                
                <span ng-if="data.evaluations.length > 1">{{data.evaluations.length}}
                    <span ng-if="data.evaluationsAPIMetadata.count > 0">
{'fraction_non_alphanumeric': 0.18722139673105498, 'fraction_numerical': 0.00396235760277365, 'mean_word_length': 3.0359760159893403, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 155, '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': '685827', 'n_tokens_mistral': 1926, 'n_tokens_neox': 1863, 'n_words': 270}