web/component.py
branchstable
changeset 2259 5d90bd26af8b
parent 2237 7e546c3d6ea5
child 2293 7ded2a1416e4
child 2312 af4d8f75c5db
equal deleted inserted replaced
2258:79bc598c6411 2259:5d90bd26af8b
     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