afficher l'ensemble des notices liés au profil lors de la signature (fixes #36)
This commit is contained in:
parent
69b9f27040
commit
8d1b8db3f4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user