mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
controller and templates adapted to display list of accompanying period tasks + detailpage of task
This commit is contained in:
@@ -89,10 +89,12 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
||||
//var $person \Chill\PersonBundle\Entity\Person */
|
||||
$course = $parameters['accompanyingCourse'];
|
||||
|
||||
//TODO: implement voter again?
|
||||
|
||||
// if ($this->authorizationChecker->isGranted(TaskVoter::SHOW, $course)) {
|
||||
$menu->addChild(
|
||||
$this->translator->trans('Tasks'), [
|
||||
'route' => 'chill_task_singletask_list',
|
||||
'route' => 'chill_task_singletask_courselist',
|
||||
'routeParameters' =>
|
||||
[ 'course_id' => $course->getId() ]
|
||||
])
|
||||
|
Reference in New Issue
Block a user