# HG changeset patch # User Sylvain Thénault # Date 1277893671 -7200 # Node ID 53cbdc5e04268ba9e59a1a8f4b816068ce3327c7 # Parent 68187d50968e0e4b0580e76326289446e9a21ec1 cleanups diff -r 68187d50968e -r 53cbdc5e0426 web/views/boxes.py --- a/web/views/boxes.py Wed Jun 30 12:27:48 2010 +0200 +++ b/web/views/boxes.py Wed Jun 30 12:27:51 2010 +0200 @@ -15,8 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -""" -generic boxes for CubicWeb web client: +"""Generic boxes for CubicWeb web client: * actions box * possible views box @@ -24,8 +23,8 @@ additional (disabled by default) boxes * schema box * startup views box +""" -""" __docformat__ = "restructuredtext en" _ = unicode @@ -185,7 +184,6 @@ for view in self._cw.vreg['views'].possible_views(self._cw, None): if view.category == 'startupview': box.append(self.box_action(view)) - if not box.is_empty(): box.render(self.w) diff -r 68187d50968e -r 53cbdc5e0426 web/views/startup.py --- a/web/views/startup.py Wed Jun 30 12:27:48 2010 +0200 +++ b/web/views/startup.py Wed Jun 30 12:27:51 2010 +0200 @@ -17,8 +17,8 @@ # with CubicWeb. If not, see . """Set of HTML startup views. A startup view is global, e.g. doesn't apply to a result set. +""" -""" __docformat__ = "restructuredtext en" _ = unicode