Línea 603... |
Línea 603... |
603 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
603 |
'link_comments' => $this->url()->fromRoute('microlearning/capsules-comments', ['capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
604 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
604 |
'link_comment_add' => $this->url()->fromRoute('microlearning/capsules-comments/add', ['capsule_id' => $capsule->uuid],['force_canonical' => true]),
|
605 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
605 |
'link_slides' => $this->url()->fromRoute('microlearning/slides', ['topic_id' => $topic->uuid, 'capsule_id' => $capsule->uuid], ['force_canonical' => true]),
|
606 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
606 |
'total_comments' => strval($dataCountAndRatingAverage['total_comments']),
|
607 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
607 |
'total_rating' => strval($dataCountAndRatingAverage['total_rating']),
|
608 |
'progress' => $userProgress->progress,
|
608 |
'progress' => 0,
|
609 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
609 |
'link_get' => $this->url()->fromRoute('microlearning/get-capsule', ['id' => $capsule->uuid], ['force_canonical' => true]),
|
610 |
'added_on' => $capsule->added_on,
|
610 |
'added_on' => $capsule->added_on,
|
611 |
'updated_on' => $capsule->updated_on,
|
611 |
'updated_on' => $capsule->updated_on,
|
612 |
]);
|
612 |
]);
|
613 |
}
|
613 |
}
|