equal
deleted
inserted
replaced
15 from cubicweb.common.registerers import action_registerer |
15 from cubicweb.common.registerers import action_registerer |
16 from cubicweb.common.uilib import html_escape |
16 from cubicweb.common.uilib import html_escape |
17 |
17 |
18 _ = unicode |
18 _ = unicode |
19 |
19 |
20 class VComponent(ComponentMixIn, View): pass |
20 class VComponent(ComponentMixIn, View): |
|
21 property_defs = { |
|
22 _('visible'): dict(type='Boolean', default=True, |
|
23 help=_('display the box or not')), |
|
24 } |
21 |
25 |
22 class EntityVComponent(VComponent): |
26 class EntityVComponent(VComponent): |
23 """abstract base class for additinal components displayed in content |
27 """abstract base class for additinal components displayed in content |
24 headers and footer according to: |
28 headers and footer according to: |
25 |
29 |