mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add menu entry in section menu
This commit is contained in:
parent
72ba2c6bca
commit
15af0203ff
@ -22,15 +22,9 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||||||
*/
|
*/
|
||||||
class SectionMenuBuilder implements LocalMenuBuilderInterface
|
class SectionMenuBuilder implements LocalMenuBuilderInterface
|
||||||
{
|
{
|
||||||
/**
|
protected AuthorizationCheckerInterface $authorizationChecker;
|
||||||
* @var AuthorizationCheckerInterface
|
|
||||||
*/
|
|
||||||
protected $authorizationChecker;
|
|
||||||
|
|
||||||
/**
|
protected TranslatorInterface $translator;
|
||||||
* @var TranslatorInterface
|
|
||||||
*/
|
|
||||||
protected $translator;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SectionMenuBuilder constructor.
|
* SectionMenuBuilder constructor.
|
||||||
@ -63,6 +57,14 @@ class SectionMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
'order' => 11,
|
'order' => 11,
|
||||||
'icons' => ['plus'],
|
'icons' => ['plus'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$menu->addChild($this->translator->trans('Accompanying courses of users'), [
|
||||||
|
'route' => 'chill_course_list_reassign',
|
||||||
|
])
|
||||||
|
->setExtras([
|
||||||
|
'order' => 12,
|
||||||
|
'icons' => ['task'],
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getMenuIds(): array
|
public static function getMenuIds(): array
|
||||||
|
@ -194,6 +194,7 @@ No accompanying user: Aucun accompagnant
|
|||||||
No data given: Pas d'information
|
No data given: Pas d'information
|
||||||
Participants: Personnes impliquées
|
Participants: Personnes impliquées
|
||||||
Create an accompanying course: Créer un parcours
|
Create an accompanying course: Créer un parcours
|
||||||
|
Accompanying courses of users: Parcours des utilisateurs
|
||||||
This accompanying course is still a draft: Ce parcours est encore à l'état brouillon.
|
This accompanying course is still a draft: Ce parcours est encore à l'état brouillon.
|
||||||
Associated peoples: Usagers concernés
|
Associated peoples: Usagers concernés
|
||||||
Resources: Interlocuteurs privilégiés
|
Resources: Interlocuteurs privilégiés
|
||||||
|
Loading…
x
Reference in New Issue
Block a user