web/views/cwsources.py
changeset 8665 e65af61bde7d
parent 8408 41461b2e9854
child 9445 65d93a4fd11c
equal deleted inserted replaced
8664:29652410c317 8665:e65af61bde7d
     1 # copyright 2010-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2010-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
    31 from cubicweb.utils import make_uid
    31 from cubicweb.utils import make_uid
    32 from cubicweb.predicates import (is_instance, score_entity, has_related_entities,
    32 from cubicweb.predicates import (is_instance, score_entity, has_related_entities,
    33                                 match_user_groups, match_kwargs, match_view)
    33                                 match_user_groups, match_kwargs, match_view)
    34 from cubicweb.view import EntityView, StartupView
    34 from cubicweb.view import EntityView, StartupView
    35 from cubicweb.schema import META_RTYPES, VIRTUAL_RTYPES, display_name
    35 from cubicweb.schema import META_RTYPES, VIRTUAL_RTYPES, display_name
    36 from cubicweb.web import uicfg, formwidgets as wdgs, facet
    36 from cubicweb.web import formwidgets as wdgs, facet
    37 from cubicweb.web.views import add_etype_button
    37 from cubicweb.web.views import add_etype_button
    38 from cubicweb.web.views import (tabs, actions, ibreadcrumbs, navigation,
    38 from cubicweb.web.views import (uicfg, tabs, actions, ibreadcrumbs, navigation,
    39                                 tableview, pyviews)
    39                                 tableview, pyviews)
    40 
    40 
    41 
    41 
    42 _abaa = uicfg.actionbox_appearsin_addmenu
    42 _abaa = uicfg.actionbox_appearsin_addmenu
    43 # there are explicit 'add' buttons for those
    43 # there are explicit 'add' buttons for those