web/component.py
branchtls-sprint
changeset 658 b5c73b5cdc68
parent 655 ca3c4992c7d1
child 659 5d754a1933cb
equal deleted inserted replaced
657:fd019f41aa2f 658:b5c73b5cdc68
    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')