Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1176 Rev 1177
Línea 496... Línea 496...
496
            renderData(competencies_selected);
496
            renderData(competencies_selected);
497
        }
497
        }
498
    });
498
    });
Línea 499... Línea 499...
499
 
499
 
-
 
500
    const setCompetencySelect = () => {
-
 
501
        $('#select-competency').children().remove();
-
 
502
        $('#select-competency').append($('<option>', {
-
 
503
            value: '',
-
 
504
            text: 'LABEL_SELECT'
500
    const setCompetencySelect = () => {
505
        }));
501
        $.each(competencies, function(i, item) {
506
        $.each(competencies, function(i, item) {
502
            if (!filterItemById(item.competency_id)) {
507
            if (!filterItemById(item.competency_id)) {
503
                var type = filterTypeById(item.competency_type_id);
508
                var type = filterTypeById(item.competency_type_id);
504
                $('#select-competency').append($('<option>', {
509
                $('#select-competency').append($('<option>', {
Línea 723... Línea 728...
723
   <div class="panel panel-default" id="panel-{{:competency_id}}">
728
   <div class="panel panel-default" id="panel-{{:competency_id}}">
724
   <div class="panel-heading">
729
   <div class="panel-heading">
725
      <h4 class="panel-title">
730
      <h4 class="panel-title">
726
         <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:competency_id}}" href="#collapse-{{:competency_id}}">
731
         <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:competency_id}}" href="#collapse-{{:competency_id}}">
727
         <span class="section-name{{:competency_id}}">
732
         <span class="section-name{{:competency_id}}">
728
         {{:title}}
733
         {{:name}}
729
         </span>
734
         </span>
730
         </a>
735
         </a>
731
      </h4>
736
      </h4>
732
   </div>
737
   </div>
733
   <div id="collapse-{{:competency_id}}" class="panel-collapse in collapse show">
738
   <div id="collapse-{{:competency_id}}" class="panel-collapse in collapse show">
Línea 743... Línea 748...
743
                  </tr>
748
                  </tr>
744
               </thead>
749
               </thead>
745
               <tbody>
750
               <tbody>
746
                  <tr class="tr-section">
751
                  <tr class="tr-section">
747
                     <td class="text-left">LABEL_COMPETENCY</td>
752
                     <td class="text-left">LABEL_COMPETENCY</td>
748
                     <td class="text-left">{{:title}}</td>
753
                     <td class="text-left">{{:name}}</td>
749
                     <td>
754
                     <td>
750
                        {{if type == 'simple'}} Simple {{/if}}
755
                        {{if type == 'simple'}} Simple {{/if}}
751
                        {{if type == 'multiple'}} Multiple {{/if}}
756
                        {{if type == 'multiple'}} Multiple {{/if}}
752
                     </td>
757
                     </td>
753
                     <td>
758
                     <td>
Línea 754... Línea 759...
754
              
759
              
Línea 755... Línea 760...
755
                        <button  type="button" class="btn btn-default btn-delete-section" data-section="{{:competency_id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE LABEL_COMPETENCY"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_COMPETENCY </button> 
760
                        <button  type="button" class="btn btn-default btn-delete-section" data-section="{{:competency_id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE LABEL_COMPETENCY"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_COMPETENCY </button> 
756
            
761
            
757
                     </td>
762
                     </td>
758
                  </tr>
763
                  </tr>
759
                  {{for options}}
764
                  {{for behaviors}}
760
                  <tr >
765
                  <tr >
761
                     <td class="text-left">--LABEL_CONDUCT</td>
766
                     <td class="text-left">--LABEL_CONDUCT</td>
762
                     <td class="text-left">
767
                     <td class="text-left">