equal
deleted
inserted
replaced
9 from logilab.mtconverter import html_escape |
9 from logilab.mtconverter import html_escape |
10 |
10 |
11 from cubicweb import Unauthorized |
11 from cubicweb import Unauthorized |
12 from cubicweb.selectors import implements |
12 from cubicweb.selectors import implements |
13 from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, RawBoxItem |
13 from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, RawBoxItem |
14 from cubicweb.web import uicfg, action, box, formwidgets |
14 from cubicweb.web import action, box |
15 from cubicweb.web.views import primary |
15 from cubicweb.web.views import primary |
16 |
|
17 uicfg.rcategories.tag_attribute('!Bookmark', 'path', 'primary') |
|
18 uicfg.rwidgets.tag_attribute('Bookmark', 'path', formwidgets.TextInput) |
|
19 |
16 |
20 |
17 |
21 class FollowAction(action.Action): |
18 class FollowAction(action.Action): |
22 id = 'follow' |
19 id = 'follow' |
23 __select__ = implements('Bookmark') |
20 __select__ = implements('Bookmark') |