# HG changeset patch # User Sylvain Thénault # Date 1253111674 -7200 # Node ID a6243d9585ba0f7e0166d24d40011057115bd154 # Parent 9e4adca73a955da924f134e01d77631bd8e130f0 hide bookmarked_by relation from addrelated menu, we've a specific box for bookmarks diff -r 9e4adca73a95 -r a6243d9585ba web/views/bookmark.py --- 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'