web/component.py
changeset 2058 7ef12c03447c
parent 1977 606923dff11b
child 2293 7ded2a1416e4
equal deleted inserted replaced
2057:0a0cbccafcb5 2058:7ef12c03447c
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
       
     9 _ = unicode
     9 
    10 
    10 from logilab.common.deprecation import class_renamed
    11 from logilab.common.deprecation import class_renamed
    11 from logilab.mtconverter import html_escape
    12 from logilab.mtconverter import html_escape
    12 
    13 
    13 from cubicweb import role
    14 from cubicweb import role
    16 from cubicweb.selectors import (
    17 from cubicweb.selectors import (
    17     paginated_rset, one_line_rset, primary_view, match_context_prop,
    18     paginated_rset, one_line_rset, primary_view, match_context_prop,
    18     partial_has_related_entities, condition_compat, accepts_compat,
    19     partial_has_related_entities, condition_compat, accepts_compat,
    19     has_relation_compat)
    20     has_relation_compat)
    20 
    21 
    21 _ = unicode
       
    22 
    22 
    23 class EntityVComponent(Component):
    23 class EntityVComponent(Component):
    24     """abstract base class for additinal components displayed in content
    24     """abstract base class for additinal components displayed in content
    25     headers and footer according to:
    25     headers and footer according to:
    26 
    26