oops, boxes reintroduced by merge
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 06 Aug 2010 10:11:21 +0200
changeset 223 729252151dea
parent 222 95ad22474c85
child 224 baff8d80bfe7
oops, boxes reintroduced by merge
views/boxes.py
--- a/views/boxes.py	Fri Aug 06 10:04:46 2010 +0200
+++ b/views/boxes.py	Fri Aug 06 10:11:21 2010 +0200
@@ -16,7 +16,7 @@
 class BlogArchivesBox(box.BoxTemplate):
     """blog side box displaying a Blog Archive"""
     __regid__ = 'blog_archives_box'
-    __select__ = boxes.BoxTemplate.__select__ & is_instance('Blog','BlogEntry','MicroBlogEntry')
+    __select__ = box.BoxTemplate.__select__ & is_instance('Blog', 'BlogEntry', 'MicroBlogEntry')
     title = _('boxes_blog_archives_box')
     order = 35
 
@@ -32,7 +32,7 @@
 
 class BlogsByAuthorBox(box.BoxTemplate):
     __regid__ = 'blog_summary_box'
-    __select__ = boxes.BoxTemplate.__select__ & is_instance('Blog','BlogEntry','MicroBlogEntry')
+    __select__ = box.BoxTemplate.__select__ & is_instance('Blog', 'BlogEntry', 'MicroBlogEntry')
     title = _('boxes_blog_summary_box')
     order = 36
 
@@ -52,7 +52,7 @@
 class LatestBlogsBox(box.BoxTemplate):
     """display a box with latest blogs and rss"""
     __regid__ = 'latest_blogs_box'
-    __select__ = boxes.BoxTemplate.__select__ & is_instance('Blog','BlogEntry','MicroBlogEntry')
+    __select__ = box.BoxTemplate.__select__ & is_instance('Blog', 'BlogEntry', 'MicroBlogEntry')
     title = _('latest_blogs_box')
     visible = True # enabled by default
     order = 34