mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
rename entry in person menu
This commit is contained in:
parent
e0e7376c1d
commit
b3b1e0aff5
@ -58,8 +58,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
||||
|
||||
if ($this->authorizationChecker->isGranted(TaskVoter::SHOW, $person)) {
|
||||
$menu->addChild(
|
||||
$this->translator->trans(
|
||||
$menuId === 'person' ? 'Associated tasks' : 'Tasks'), [
|
||||
$this->translator->trans('Tasks'), [
|
||||
'route' => 'chill_task_singletask_list',
|
||||
'routeParameters' => $menuId === 'person' ?
|
||||
[ 'person_id' => $person->getId() ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user