equal
deleted
inserted
replaced
18 _abaa = uicfg.actionbox_appearsin_addmenu |
18 _abaa = uicfg.actionbox_appearsin_addmenu |
19 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False) |
19 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False) |
20 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False) |
20 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False) |
21 |
21 |
22 class FollowAction(action.Action): |
22 class FollowAction(action.Action): |
23 id = 'follow' |
23 __regid__ = 'follow' |
24 __select__ = implements('Bookmark') |
24 __select__ = implements('Bookmark') |
25 |
25 |
26 title = _('follow') |
26 title = _('follow') |
27 category = 'mainactions' |
27 category = 'mainactions' |
28 |
28 |
48 self.w(u'</div>') |
48 self.w(u'</div>') |
49 |
49 |
50 |
50 |
51 class BookmarksBox(box.UserRQLBoxTemplate): |
51 class BookmarksBox(box.UserRQLBoxTemplate): |
52 """display a box containing all user's bookmarks""" |
52 """display a box containing all user's bookmarks""" |
53 id = 'bookmarks_box' |
53 __regid__ = 'bookmarks_box' |
54 order = 40 |
54 order = 40 |
55 title = _('bookmarks') |
55 title = _('bookmarks') |
56 rql = ('Any B,T,P ORDERBY lower(T) ' |
56 rql = ('Any B,T,P ORDERBY lower(T) ' |
57 'WHERE B is Bookmark,B title T, B path P, B bookmarked_by U, ' |
57 'WHERE B is Bookmark,B title T, B path P, B bookmarked_by U, ' |
58 'U eid %(x)s') |
58 'U eid %(x)s') |