Línea 59... |
Línea 59... |
59 |
if(response['success']) {
|
59 |
if(response['success']) {
|
Línea 60... |
Línea 60... |
60 |
|
60 |
|
Línea 61... |
Línea 61... |
61 |
$('#row-' + answer).remove();
|
61 |
$('#row-' + answer).remove();
|
62 |
|
62 |
|
Línea 63... |
Línea 63... |
63 |
$('#answers-' + question).html(response['data']['total_answers']);
|
63 |
$('#answers-' + question).html(response['data']['total_answers']);
|
64 |
$('#my-coach-question-answer-count-answers').append(response['data']['total_answers']);
|
64 |
$('#my-coach-question-answer-count-answers').prepend(response['data']['total_answers']);
|
Línea 65... |
Línea 65... |
65 |
|
65 |
|
Línea 334... |
Línea 334... |
334 |
$('#modal-answer').modal('hide');
|
334 |
$('#modal-answer').modal('hide');
|
Línea 335... |
Línea 335... |
335 |
|
335 |
|
336 |
if(method == 'add') {
|
336 |
if(method == 'add') {
|
337 |
var uuid = $('#row-view').data('question-uuid');
|
337 |
var uuid = $('#row-view').data('question-uuid');
|
338 |
$('#answers-' + uuid).html(response['data']['answers']);
|
338 |
$('#answers-' + uuid).html(response['data']['answers']);
|
339 |
$('#my-coach-question-answer-count-answers').append(response['data']['answers']);
|
339 |
$('#my-coach-question-answer-count-answers').prepend(response['data']['answers']);
|
340 |
$('#my-coach-question-answers-list').prepend(
|
340 |
$('#my-coach-question-answers-list').prepend(
|
341 |
$('#answerTemplate').render(response['data']['item'])
|
341 |
$('#answerTemplate').render(response['data']['item'])
|
342 |
);
|
342 |
);
|
343 |
$.fn.confirmationAnswers()
|
343 |
$.fn.confirmationAnswers()
|
Línea 535... |
Línea 535... |
535 |
li.text(value.category).appendTo('#my-coach-answer-categories')
|
535 |
li.text(value.category).appendTo('#my-coach-answer-categories')
|
536 |
});
|
536 |
});
|
Línea 537... |
Línea 537... |
537 |
|
537 |
|
538 |
$('#my-coach-question-answer-question-date').html(response['data']['added_on']);
|
538 |
$('#my-coach-question-answer-question-date').html(response['data']['added_on']);
|
539 |
$('#my-coach-question-answer-last-date').html(response['data']['last_answer_on']);
|
539 |
$('#my-coach-question-answer-last-date').html(response['data']['last_answer_on']);
|
540 |
$('#my-coach-question-answer-count-answers').append(response['data']['answers']);
|
540 |
$('#my-coach-question-answer-count-answers').prepend(response['data']['answers']);
|
541 |
$('#my-coach-question-answer-count-reactions').append(response['data']['reactions']);
|
541 |
$('#my-coach-question-answer-count-reactions').append(response['data']['reactions']);
|
542 |
$('#my-coach-question-answer-count-views').append(response['data']['views']);
|
542 |
$('#my-coach-question-answer-count-views').append(response['data']['views']);
|
Línea 543... |
Línea 543... |
543 |
$('#my-coach-question-answer-count-comments').append(response['data']['comments']);
|
543 |
$('#my-coach-question-answer-count-comments').append(response['data']['comments']);
|
Línea 904... |
Línea 904... |
904 |
<div class="my-coach-record-card-resume">
|
904 |
<div class="my-coach-record-card-resume">
|
905 |
<img id="my-coach-question-user-image" src="" />
|
905 |
<img id="my-coach-question-user-image" src="" />
|
906 |
<p id="my-coach-question-user-name"></p>
|
906 |
<p id="my-coach-question-user-name"></p>
|
907 |
</div>
|
907 |
</div>
|
Línea 908... |
Línea 908... |
908 |
|
908 |
|
909 |
<span id="my-coach-question-answer-count-answers">LABEL_MY_COACH_ANSWERS</span>
|
909 |
<span id="my-coach-question-answer-count-answers"> LABEL_MY_COACH_ANSWERS</span>
|
910 |
<span id="my-coach-question-answer-count-reactions">LABEL_MY_COACH_REACTIONS</span>
|
910 |
<span id="my-coach-question-answer-count-reactions">LABEL_MY_COACH_REACTIONS</span>
|
911 |
<span id="my-coach-question-answer-count-views">LABEL_MY_COACH_VIEWS</span>
|
911 |
<span id="my-coach-question-answer-count-views">LABEL_MY_COACH_VIEWS</span>
|
912 |
<span id="my-coach-question-answer-count-comments">LABEL_COMMENTS</span>
|
912 |
<span id="my-coach-question-answer-count-comments">LABEL_COMMENTS</span>
|