admin dashboard : configuration
authorDavin Baragiotta <davin.baragiotta@auf.org>
Wed, 16 Nov 2011 22:00:52 +0000 (17:00 -0500)
committerDavin BARAGIOTTA <davin.baragiotta@auf.org>
Wed, 16 Nov 2011 22:00:52 +0000 (17:00 -0500)
project/dashboard.py
src/qbe [deleted submodule]

index c93df5f..7ee06b8 100644 (file)
@@ -29,8 +29,20 @@ class CustomIndexDashboard(Dashboard):
         # append an app list module for "Applications"
         self.children.append(modules.AppList(
             _('Applications'),
-            exclude=('django.contrib.*',
+            models=(
+            'project.dae.models.*',
+            'project.recrutement.models.*',
             'project.rh.models.AyantDroit',
+            'project.rh.models.Dossier',
+            'project.rh.models.Employe',
+            'project.rh.models.Poste',
+            ),
+        ))
+
+        # append an app list module for "Configuration"
+        self.children.append(modules.AppList(
+            _('Configuration'),
+            models=(
             'project.rh.models.Classement',
             'project.rh.models.Devise',
             'project.rh.models.FamilleEmploi',
@@ -47,10 +59,20 @@ class CustomIndexDashboard(Dashboard):
             ),
         ))
 
+        # append an app list module for "Inter-systèmes"
+        self.children.append(modules.AppList(
+            _(u'Inter-systèmes'),
+            models=(
+            'project.rh.models.ResponsableImplantation',
+            ),
+        ))
+
         # append an app list module for "Administration"
         self.children.append(modules.AppList(
             _('Administration'),
-            models=('django.contrib.*',),
+            models=(
+            'django.contrib.*',
+            ),
         ))
 
         # append a recent actions module
diff --git a/src/qbe b/src/qbe
deleted file mode 160000 (submodule)
index 2503a3e..0000000
--- a/src/qbe
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 2503a3ecb80a3e1d76316c5a0badac18e5b838fb