diff --git a/config/domain/notification/translations/messages.fr.yaml b/config/domain/notification/translations/messages.fr.yaml index fd50846dfb3f2048c61b91b73c888f2859038a61..748eba46ccb98e135898d3d9d812fa405f82084a 100644 --- a/config/domain/notification/translations/messages.fr.yaml +++ b/config/domain/notification/translations/messages.fr.yaml @@ -6,7 +6,7 @@ notifications: subcontractor: Sous-traitants violation: Violations proof: Preuves - document: Document + document: Espace documentaire action: Actions de protection protect_action: Actions de protection request: Demandes diff --git a/src/Domain/Notification/Controller/NotificationController.php b/src/Domain/Notification/Controller/NotificationController.php index 431d9dc728e2e79962684e976bff5d9e33eebd0e..e901ad3f4a99fc6eaabfa43e25cf70b20f74cb14 100644 --- a/src/Domain/Notification/Controller/NotificationController.php +++ b/src/Domain/Notification/Controller/NotificationController.php @@ -174,7 +174,7 @@ class NotificationController extends CRUDController $nameHtml = '<span>' . $notification->getName() . '</span> '; - if ($link && 'notifications.actions.delete' !== $notification->getAction()) { + if ($link && 'notification.actions.delete' !== $notification->getAction()) { $nameHtml = '<a href="' . $link . '">' . $notification->getName() . '</a>' ; } diff --git a/src/Domain/Notification/Dictionary/NotificationModuleDictionary.php b/src/Domain/Notification/Dictionary/NotificationModuleDictionary.php index 0d31f60296fb5f90ddcf3a5ae6118029dd1babdc..04af083c7ead7861eec4ba8cf2971380fcf0ff18 100644 --- a/src/Domain/Notification/Dictionary/NotificationModuleDictionary.php +++ b/src/Domain/Notification/Dictionary/NotificationModuleDictionary.php @@ -63,7 +63,7 @@ class NotificationModuleDictionary extends SimpleDictionary Notification::MODULES[ConformiteTraitement::class] => 'Conformité du traitement', Notification::MODULES[Conformite::class] => 'Conformité de la structure', Notification::MODULES[AnalyseImpact::class] => 'Analyse d\'impact', - Notification::MODULES[Document::class] => 'Document', + Notification::MODULES[Document::class] => 'Espace Documentaire', 'user' => 'Utilisateurs', ]; } diff --git a/templates/Notification/Notification/list.html.twig b/templates/Notification/Notification/list.html.twig index 227a91212c7d218a3d06356774511c3d2b5e0e92..770eac8c18947865513c3df1b27165215d5384fd 100644 --- a/templates/Notification/Notification/list.html.twig +++ b/templates/Notification/Notification/list.html.twig @@ -22,7 +22,6 @@ {% endblock %} {% block body %} - <div class="dt-button-background" style=""></div> <div class="row"> <div class="col-xs-12"> <div class="box box-solid"> @@ -138,7 +137,7 @@ dom: 'Bfrtip', columnDefs: [ { - targets: 4, + targets: 10, className: 'noVis' } ], @@ -245,6 +244,7 @@ $('#table').on('column-visibility.dt', function() { + console.log('set events') setEvents(); } );