mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix delete of reports in crud config + template
This commit is contained in:
parent
20c27c100c
commit
02b150b0a5
@ -96,7 +96,7 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface
|
|||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'role' => 'ROLE_USER',
|
'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',
|
'role' => 'ROLE_USER',
|
||||||
'template' => '@ChillJob/ProjetProfessionnel/edit.html.twig',
|
'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',
|
'role' => 'ROLE_USER',
|
||||||
'template' => '@ChillJob/Frein/edit.html.twig',
|
'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',
|
'role' => 'ROLE_USER',
|
||||||
'template' => '@ChillJob/Immersion/edit.html.twig',
|
'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 person = entity.person %}
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user