mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	fix delete of reports in crud config + template
This commit is contained in:
		| @@ -96,7 +96,7 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface | ||||
|                         ], | ||||
|                         'delete' => [ | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/CV/delete.html.twig', | ||||
|                             'template' => '@ChillJob/Report/delete.html.twig', | ||||
|                         ] | ||||
|                     ], | ||||
|                 ], | ||||
| @@ -120,6 +120,10 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/ProjetProfessionnel/edit.html.twig', | ||||
|                         ], | ||||
|                         'delete' => [ | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/Report/delete.html.twig' | ||||
|                         ] | ||||
|                     ], | ||||
|                 ], | ||||
|                 [ | ||||
| @@ -142,6 +146,10 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/Frein/edit.html.twig', | ||||
|                         ], | ||||
|                         'delete' => [ | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/Report/delete.html.twig', | ||||
|                         ] | ||||
|                     ], | ||||
|                 ], | ||||
|                 [ | ||||
| @@ -168,6 +176,10 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/Immersion/edit.html.twig', | ||||
|                         ], | ||||
|                         'delete' => [ | ||||
|                             'role' => 'ROLE_USER', | ||||
|                             'template' => '@ChillJob/Report/delete.html.twig', | ||||
|                         ] | ||||
|                     ], | ||||
|                 ], | ||||
|             ], | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| {% extends '@ChillPerson/layout.html.twig' %} | ||||
| {% extends '@ChillMain/layout.html.twig' %} | ||||
|  | ||||
| {% set person = entity.person %} | ||||
| {% set activeRouteKey = '' %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user