equal
deleted
inserted
replaced
194 |
194 |
195 .. sourcecode:: python |
195 .. sourcecode:: python |
196 |
196 |
197 from cubicweb.predicates import none_rset |
197 from cubicweb.predicates import none_rset |
198 from cubicweb.web.views import bookmark |
198 from cubicweb.web.views import bookmark |
199 from cubes.zone import views as zone |
199 from cubicweb_zone import views as zone |
200 from cubes.tag import views as tag |
200 from cubicweb_tag import views as tag |
201 |
201 |
202 |
202 |
203 # change bookmarks box selector so it's only displayed on startup views |
203 # change bookmarks box selector so it's only displayed on startup views |
204 bookmark.BookmarksBox.__select__ = bookmark.BookmarksBox.__select__ & none_rset() |
204 bookmark.BookmarksBox.__select__ = bookmark.BookmarksBox.__select__ & none_rset() |
205 # move zone box to the left instead of in the context frame and tweak its order |
205 # move zone box to the left instead of in the context frame and tweak its order |