# HG changeset patch # User Sylvain Thénault # Date 1278936669 -7200 # Node ID 4d75f743ed49dd7baf8bde7b0e475244933fa08e # Parent 3f27004ca98c9d21ff508e96d0eeaacb7502452e [actions] homogen action/view selectors. Move action together with associated view to avoid such thing in the future diff -r 3f27004ca98c -r 4d75f743ed49 web/views/actions.py --- a/web/views/actions.py Mon Jul 12 13:28:02 2010 +0200 +++ b/web/views/actions.py Mon Jul 12 14:11:09 2010 +0200 @@ -399,12 +399,6 @@ title = _('manage') order = 20 -class SiteInfoAction(ManagersAction): - __regid__ = 'siteinfo' - __select__ = match_user_groups('users','managers') - title = _('info') - order = 30 - # footer actions ############################################################### diff -r 3f27004ca98c -r 4d75f743ed49 web/views/debug.py --- a/web/views/debug.py Mon Jul 12 13:28:02 2010 +0200 +++ b/web/views/debug.py Mon Jul 12 14:11:09 2010 +0200 @@ -25,6 +25,7 @@ from cubicweb.selectors import none_rset, match_user_groups from cubicweb.view import StartupView +from cubicweb.web.views import actions def dict_to_html(w, dict): # XHTML doesn't allow emtpy