| 
					
				 | 
			
			
				@@ -28,10 +28,11 @@ class VideothequeController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public function listeAction(Request $request, FilmRepository $repo) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $listeFilms = $repo->findTous(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if ($this->isGranted('IS_AUTHENTICATED_FULLY') && $this->getUser()->getProfile()->getView() === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $type = "tableaux"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $type = "vignettes"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $type = "vignettes"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if ($this->isGranted('IS_AUTHENTICATED_FULLY')) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if ($this->getUser()->getProfile()->getView() === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $type = "tableaux"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return $this->render("videotheque/liste_$type.html.twig", array( 
			 |