add link when task are near deadline in user menu

This commit is contained in:
2018-04-30 17:37:20 +02:00
parent 399f99ebfc
commit 63168818ec
6 changed files with 145 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
services:
Chill\TaskBundle\Menu\UserMenuBuilder:
arguments:
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
$counter: '@Chill\TaskBundle\Templating\UI\CountNotificationTask'
tags:
- { name: 'chill.menu_builder' }

View File

@@ -8,5 +8,6 @@ services:
Chill\TaskBundle\Templating\UI\CountNotificationTask:
arguments:
$singleTaskRepository: '@Chill\TaskBundle\Repository\SingleTaskRepository'
$cachePool: '@cache.user_data'
tags:
- { name: chill.count_notification.user }