web/views/tabs.py
branchtls-sprint
changeset 692 800592b8d39b
parent 688 cddfbdee0eb3
child 728 a95b284150d1
equal deleted inserted replaced
691:35133d86970b 692:800592b8d39b
     1 """base classes to handle tabbed views
     1 """base classes to handle tabbed views
     2 
     2 
     3 :organization: Logilab
     3 :organization: Logilab
     4 :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     4 :copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 """
     6 """
     7 
     7 
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
     9 
     9 
    10 from logilab.common.decorators import monkeypatch
    10 from logilab.common.decorators import monkeypatch
    11 from logilab.mtconverter import html_escape
    11 from logilab.mtconverter import html_escape
    12 
    12 
    13 from cubicweb import NoSelectableObject, role
    13 from cubicweb import NoSelectableObject, role
       
    14 from cubicweb.selectors import has_related_entities
    14 from cubicweb.common.view import EntityView
    15 from cubicweb.common.view import EntityView
    15 from cubicweb.common.selectors import has_related_entities
       
    16 from cubicweb.common.utils import HTMLHead
    16 from cubicweb.common.utils import HTMLHead
    17 from cubicweb.common.uilib import rql_for_eid
    17 from cubicweb.common.uilib import rql_for_eid
    18 
    18 
    19 from cubicweb.web.views.basecontrollers import JSonController
    19 from cubicweb.web.views.basecontrollers import JSonController
    20 
    20