afficher l'ensemble des notices liés au profil lors de la signature (fixes #36)

This commit is contained in:
afornerot 2019-11-08 16:02:21 +01:00
parent 69b9f27040
commit 8d1b8db3f4
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ class CoreController extends Controller
if($user) {
$notices=$em->getRepository("CadolesPortalBundle:Notice")->getNoticeToRead($user);
if(! $notices->isEmpty()) {
$notices=$em->getRepository("CadolesPortalBundle:Notice")->getNoticeUser($user,false);
return $this->render('CadolesPortalBundle:Notice:mustread.html.twig',[
'useheader' => true,
'usemenu' => false,