Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1657 | Rev 1659 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1657 Rev 1658
Línea 56... Línea 56...
56
 
56
 
57
 
57
 
Línea 58... Línea 58...
58
$status_active = \LeadersLinked\Model\RecruitmentSelectionCandidate::STATUS_ACTIVE;
58
$status_active = \LeadersLinked\Model\RecruitmentSelectionCandidate::STATUS_ACTIVE;
59
$status_inactive = \LeadersLinked\Model\RecruitmentSelectionCandidate::STATUS_INACTIVE;
59
$status_inactive = \LeadersLinked\Model\RecruitmentSelectionCandidate::STATUS_INACTIVE;
60
 
60
 
61
$preselection_0 = \LeadersLinked\Model\RecruitmentSelectionCandidate::PRE_SELECTION_0;
61
$evaluation_0 = \LeadersLinked\Model\RecruitmentSelectionCandidate::EVALUATION_0;
62
$preselection_1 = \LeadersLinked\Model\RecruitmentSelectionCandidate::PRE_SELECTION_1;
62
$evaluation_1 = \LeadersLinked\Model\RecruitmentSelectionCandidate::EVALUATION_1;
Línea 63... Línea 63...
63
$preselection_2 = \LeadersLinked\Model\RecruitmentSelectionCandidate::PRE_SELECTION_2;
63
$evaluation_2 = \LeadersLinked\Model\RecruitmentSelectionCandidate::EVALUATION_2;
64
$preselection_3 = \LeadersLinked\Model\RecruitmentSelectionCandidate::PRE_SELECTION_3;
64
$evaluation_3 = \LeadersLinked\Model\RecruitmentSelectionCandidate::EVALUATION_3;
65
$preselection_4 = \LeadersLinked\Model\RecruitmentSelectionCandidate::PRE_SELECTION_4;
65
$evaluation_4 = \LeadersLinked\Model\RecruitmentSelectionCandidate::EVALUATION_4;
66
 
66
 
Línea 184... Línea 184...
184
                $('#form-add #last_name').val('');
184
                $('#form-add #last_name').val('');
185
                $('#form-add #email').val('');
185
                $('#form-add #email').val('');
186
                $('#form-add #file').fileinput('reset');
186
                $('#form-add #file').fileinput('reset');
187
                $('#form-add #file').val('');
187
                $('#form-add #file').val('');
188
                $('#form-add #status').val('$status_active');
188
                $('#form-add #status').val('$status_active');
189
                $('#form-add #pre_selection').val('$preselection_0');
189
                $('#form-add #evaluation').val('$preselection_0');
190
                CKEDITOR.instances.coment.setData('');
190
                CKEDITOR.instances.coment.setData('');
191
                validatorAdd.resetForm();
191
                validatorAdd.resetForm();
Línea 192... Línea 192...
192
 
192
 
193
                $('#add-candidate-box').modal('show');
193
                $('#add-candidate-box').modal('show');
Línea 221... Línea 221...
221
                        required: true,
221
                        required: true,
222
                    },
222
                    },
223
                    'email': {
223
                    'email': {
224
                        required: true,
224
                        required: true,
225
                    },
225
                    },
226
                    'pre_selection':{
226
                    'evaluation':{
227
                        required: false,
227
                        required: false,
228
                    },
228
                    },
229
                    'coment':{
229
                    'coment':{
230
                        updateCkeditor:function() {
230
                        updateCkeditor:function() {
231
                        CKEDITOR.instances.coment.updateElement();
231
                        CKEDITOR.instances.coment.updateElement();
Línea 342... Línea 342...
342
                        required: true,
342
                        required: true,
343
                    },
343
                    },
344
                    'email': {
344
                    'email': {
345
                        required: true,
345
                        required: true,
346
                    },
346
                    },
347
                    'pre_selection':{
347
                    'evaluation':{
348
                        required: false,
348
                        required: false,
349
                    },
349
                    },
350
                    'coment':{
350
                    'coment':{
351
                        updateCkeditor:function() {
351
                        updateCkeditor:function() {
352
                            CKEDITOR.instances.coment.updateElement();
352
                            CKEDITOR.instances.coment.updateElement();
Línea 608... Línea 608...
608
                     echo $this->formTextArea($element);
608
                     echo $this->formTextArea($element);
609
                    ?>
609
                    ?>
610
      	        </div>
610
      	        </div>
611
                  <div class="form-group">
611
                  <div class="form-group">
612
                    <?php
612
                    <?php
613
                    $element = $form->get('pre_selection');
613
                    $element = $form->get('evaluation');
614
                    $element->setAttributes(['class' => 'form-control']);
614
                    $element->setAttributes(['class' => 'form-control']);
615
                    $element->setOptions(['label' => 'LABEL_PRE_SELECTION']);
615
                    $element->setOptions(['label' => 'LABEL_EVALUATION']);
616
                    echo $this->formLabel($element);
616
                    echo $this->formLabel($element);
617
                    echo $this->formSelect($element);
617
                    echo $this->formSelect($element);
618
                    ?>
618
                    ?>
619
                </div>
619
                </div>
620
                <div class="form-group">
620
                <div class="form-group">
Línea 703... Línea 703...
703
                     echo $this->formTextArea($element);
703
                     echo $this->formTextArea($element);
704
                    ?>
704
                    ?>
705
      	        </div>
705
      	        </div>
706
                  <div class="form-group">
706
                  <div class="form-group">
707
                    <?php
707
                    <?php
708
                    $element = $form->get('pre_selection');
708
                    $element = $form->get('evaluation');
709
                    $element->setAttributes(['class' => 'form-control']);
709
                    $element->setAttributes(['class' => 'form-control']);
710
                    $element->setOptions(['label' => 'LABEL_PRE_SELECTION']);
710
                    $element->setOptions(['label' => 'LABEL_EVALUATION']);
711
                    echo $this->formLabel($element);
711
                    echo $this->formLabel($element);
712
                    echo $this->formSelect($element);
712
                    echo $this->formSelect($element);
713
                    ?>
713
                    ?>
714
                </div>
714
                </div>
715
                <div class="form-group">
715
                <div class="form-group">