Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3574 Rev 3589
Línea 470... Línea 470...
470
            'method': 'get',
470
            'method': 'get',
471
            'url':  String('$routeVacancy').replaceAll('UUID_PLACEHOLDER', uuid),
471
            'url':  String('$routeVacancy').replaceAll('UUID_PLACEHOLDER', uuid),
472
        }).done(function (response) {
472
        }).done(function (response) {
473
            var data = response.data
473
            var data = response.data
Línea -... Línea 474...
-
 
474
 
474
 
475
            $("#competencies-job").html($("#competenciesTemplate").render(data))
475
            data.candidates.forEach(function (candidate) {
476
            data.candidates.forEach(function (candidate) {
476
                var option = $('<option />')
477
                var option = $('<option />')
477
                    .val(candidate.uuid)
478
                    .val(candidate.uuid)
478
                    .text(candidate.first_name)
479
                    .text(candidate.first_name)
Línea 482... Línea 483...
482
                    .data('reportUrl', candidate.report_url)
483
                    .data('reportUrl', candidate.report_url)
Línea 483... Línea 484...
483
 
484
 
484
                $('#candidate_uuid').append(option);
485
                $('#candidate_uuid').append(option);
Línea 485... Línea 486...
485
            });
486
            });
486
 
487
 
487
            $('#job-description').html($('#job-description-template').render(response.data));
488
            $('#job-description').html($('#job-description-template').render(data));
Línea 488... Línea 489...
488
        })
489
        })