Added twig extension to render internal notifications