projets
/
auf_rh_dae.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove recent actions
[auf_rh_dae.git]
/
project
/
dashboard.py
diff --git
a/project/dashboard.py
b/project/dashboard.py
index
1be4380
..
4bcbb6d
100644
(file)
--- a/
project/dashboard.py
+++ b/
project/dashboard.py
@@
-79,7
+79,7
@@
class CustomIndexDashboard(Dashboard):
))
# append a recent actions module
))
# append a recent actions module
- self.children.append(modules.RecentActions(_('Recent Actions'), 5))
+ #self.children.append(modules.RecentActions(_('Recent Actions'), 5))
class CustomAppIndexDashboard(AppIndexDashboard):
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),
# 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
]
return
@@
-152,8
+152,8
@@
class CustomAppIndexDashboard(AppIndexDashboard):
))
# append a recent actions module
))
# 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
+ #))