web/views/bookmark.py
branch3.5
changeset 3247 a6243d9585ba
parent 2996 866a2c135c33
child 3408 c92170fca813
child 3718 ae49707df724
--- a/web/views/bookmark.py	Wed Sep 16 14:33:24 2009 +0200
+++ b/web/views/bookmark.py	Wed Sep 16 16:34:34 2009 +0200
@@ -12,9 +12,12 @@
 from cubicweb import Unauthorized
 from cubicweb.selectors import implements
 from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, RawBoxItem
-from cubicweb.web import action, box
+from cubicweb.web import action, box, uicfg
 from cubicweb.web.views import primary
 
+_abaa = uicfg.actionbox_appearsin_addmenu
+_abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False)
+_abaa.tag_object_of(('*', 'bookmarked_by', '*'), False)
 
 class FollowAction(action.Action):
     id = 'follow'