/**
  * @param NotificationUserParametersEvent $event
  *
  * @DI\Observe("create_notification_item_resource-claroline_forum-create_message")
  */
 public function onCreateNotificationItem(NotificationCreateDelegateViewEvent $event)
 {
     $notificationView = $event->getNotificationView();
     $notification = $notificationView->getNotification();
     $content = $this->templating->render('ClarolineForumBundle:Notification:notification.html.twig', array('notification' => $notification, 'status' => $notificationView->getStatus(), 'systemName' => $event->getSystemName()));
     $event->setResponseContent($content);
     $event->stopPropagation();
 }
 public function onCreateNotificationItem(NotificationCreateDelegateViewEvent $event)
 {
     $notificationView = $event->getNotificationView();
     $notification = $notificationView->getNotification();
     $content = $this->container->get('templating')->render('IcapDropzoneBundle:Notification:notification_item.html.twig', array('notification' => $notification, 'status' => $notificationView->getStatus(), 'systemName' => $event->getSystemName()));
     $event->setResponseContent($content);
     $event->stopPropagation();
 }
 /**
  * Notification from Manager to Collaborator.
  *
  * @param NotificationCreateDelegateViewEvent $event
  */
 public function onCreateNotificationUnlockDone(NotificationCreateDelegateViewEvent $event)
 {
     $notificationView = $event->getNotificationView();
     $notification = $notificationView->getNotification();
     $content = $this->container->get('templating')->render('InnovaPathBundle:Notification:unlockdone.html.twig', ['notification' => $notification, 'status' => $notificationView->getStatus(), 'systemName' => $event->getSystemName()]);
     $event->setResponseContent($content);
     $event->stopPropagation();
 }