Fix for odette
[auf_rh_dae.git] / project / dashboard.py
index 40c8534..1868e05 100644 (file)
@@ -37,7 +37,7 @@ class CustomIndexDashboard(Dashboard):
                     )
                 ),
                 modules.ModelList(
-                    title='Gestion des candidatures',
+                    title='Recrutement',
                     models=(
                         'auf.django.emploi.models.OffreEmploi',
                         'project.recrutement.models.ProxyOffreEmploi',
@@ -61,9 +61,16 @@ class CustomIndexDashboard(Dashboard):
                         'project.rh.models.Poste',
                     )
                 ),
+                modules.ModelList(
+                    title='Log',
+                    models=(
+                        'project.rh.models.ChangementPersonnel',
+                    )
+                ),
             ]
         ))
 
+
         if in_drh_or_admin(request.user):
             revisions = get_active_revisions()[:10]
             children = []
@@ -112,6 +119,7 @@ class CustomIndexDashboard(Dashboard):
                 'project.rh.models.TypeRevalorisation',
                 'project.rh.models.TypeRemuneration',
                 'project.rh.models.ValeurPoint',
+                'project.rh.models.ChangementPersonnelNotifications',
             ),
             exclude=('django.contrib.*',),
         ))