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 |
21 |
21 class EntityVComponent(ComponentMixIn, View): |
22 class EntityVComponent(VComponent): |
22 """abstract base class for additinal components displayed in content |
23 """abstract base class for additinal components displayed in content |
23 headers and footer according to: |
24 headers and footer according to: |
24 |
25 |
25 * the displayed entity's type |
26 * the displayed entity's type |
26 * a context (currently 'header' or 'footer') |
27 * a context (currently 'header' or 'footer') |