22 |
22 |
23 from logilab.mtconverter import xml_escape |
23 from logilab.mtconverter import xml_escape |
24 |
24 |
25 from cubicweb import Unauthorized, typed_eid |
25 from cubicweb import Unauthorized, typed_eid |
26 from cubicweb.predicates import is_instance, one_line_rset |
26 from cubicweb.predicates import is_instance, one_line_rset |
27 from cubicweb.web import (action, component, uicfg, htmlwidgets, |
27 from cubicweb.web import action, component, htmlwidgets, formwidgets as fw |
28 formwidgets as fw) |
28 from cubicweb.web.views import uicfg, primary |
29 from cubicweb.web.views import primary |
|
30 from cubicweb.web.views.ajaxcontroller import ajaxfunc |
29 from cubicweb.web.views.ajaxcontroller import ajaxfunc |
31 |
30 |
32 _abaa = uicfg.actionbox_appearsin_addmenu |
31 _abaa = uicfg.actionbox_appearsin_addmenu |
33 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False) |
32 _abaa.tag_subject_of(('*', 'bookmarked_by', '*'), False) |
34 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False) |
33 _abaa.tag_object_of(('*', 'bookmarked_by', '*'), False) |