--- 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 <http://www.gnu.org/licenses/>.
-"""
-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)
--- 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 <http://www.gnu.org/licenses/>.
"""Set of HTML startup views. A startup view is global, e.g. doesn't
apply to a result set.
+"""
-"""
__docformat__ = "restructuredtext en"
_ = unicode