From 258a2807847b4b0458448f3b52ba3d4b8a4ea006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 27 Apr 2018 12:29:45 +0200 Subject: [PATCH] add tasks list in menu --- Controller/SingleTaskController.php | 4 ++-- Resources/translations/messages.fr.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Controller/SingleTaskController.php b/Controller/SingleTaskController.php index 81f7efb3c..a0d245e7e 100644 --- a/Controller/SingleTaskController.php +++ b/Controller/SingleTaskController.php @@ -284,11 +284,11 @@ class SingleTaskController extends Controller return $form; } - /** * @Route( * "/{_locale}/task/singletask/list", - * name="chill_task_singletask_list" + * name="chill_task_singletask_list", + * options={ "menus": { "person" : { "order": 400, "label": "Associated tasks" } } } * ) */ public function listAction( diff --git a/Resources/translations/messages.fr.yml b/Resources/translations/messages.fr.yml index 7d242163e..f98b1f54e 100644 --- a/Resources/translations/messages.fr.yml +++ b/Resources/translations/messages.fr.yml @@ -34,6 +34,8 @@ User: Utilisateur 'Remove task': 'Supprimer la tâche' 'Are you sure you want to remove the task about "%name%" ?': 'Êtes-vous sûr·e de vouloir supprimer la tâche de "%name%"?' +Associated tasks: Tâches associées + #Flash messages 'The task is created': 'La tâche a été créée' 'The task has been successfully removed.': 'La tâche a bien été supprimée'