remove recent actions
[auf_rh_dae.git] / project / dashboard.py
index 1be4380..4bcbb6d 100644 (file)
@@ -79,7 +79,7 @@ class CustomIndexDashboard(Dashboard):
         ))
 
         # append a recent actions module
-        self.children.append(modules.RecentActions(_('Recent Actions'), 5))
+        #self.children.append(modules.RecentActions(_('Recent Actions'), 5))
 
 
 class CustomAppIndexDashboard(AppIndexDashboard):
@@ -101,11 +101,11 @@ class CustomAppIndexDashboard(AppIndexDashboard):
             # append a model list module and a recent actions module
             self.children += [
                 modules.ModelList(self.app_title,self.models),
-                modules.RecentActions(
-                    _('Recent Actions'),
-                    include_list=self.get_app_content_types(),
-                    limit=5
-                )
+                #modules.RecentActions(
+                #    _('Recent Actions'),
+                #    include_list=self.get_app_content_types(),
+                #    limit=5
+                #)
             ]
 
             return
@@ -152,8 +152,8 @@ class CustomAppIndexDashboard(AppIndexDashboard):
         ))
 
         # append a recent actions module
-        self.children.append(modules.RecentActions(
-            _('Recent Actions'),
-            include_list=self.get_app_content_types(),
-            limit=5
-        ))
+        #self.children.append(modules.RecentActions(
+        #    _('Recent Actions'),
+        #    include_list=self.get_app_content_types(),
+        #    limit=5
+        #))