web/box.py
changeset 8190 2a3c1b787688
parent 7879 9aae456abab5
child 8900 010a59e12d89
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    23 from logilab.mtconverter import xml_escape
    23 from logilab.mtconverter import xml_escape
    24 from logilab.common.deprecation import class_deprecated, class_renamed
    24 from logilab.common.deprecation import class_deprecated, class_renamed
    25 
    25 
    26 from cubicweb import Unauthorized, role as get_role
    26 from cubicweb import Unauthorized, role as get_role
    27 from cubicweb.schema import display_name
    27 from cubicweb.schema import display_name
    28 from cubicweb.selectors import no_cnx, one_line_rset
    28 from cubicweb.predicates import no_cnx, one_line_rset
    29 from cubicweb.view import View
    29 from cubicweb.view import View
    30 from cubicweb.web import INTERNAL_FIELD_VALUE, stdmsgs
    30 from cubicweb.web import INTERNAL_FIELD_VALUE, stdmsgs
    31 from cubicweb.web.htmlwidgets import (BoxLink, BoxWidget, SideBoxWidget,
    31 from cubicweb.web.htmlwidgets import (BoxLink, BoxWidget, SideBoxWidget,
    32                                       RawBoxItem, BoxSeparator)
    32                                       RawBoxItem, BoxSeparator)
    33 from cubicweb.web.action import UnregisteredAction
    33 from cubicweb.web.action import UnregisteredAction