don't show label if no label given stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 19:47:07 +0200
branchstable
changeset 3326 e3089ceee1ea
parent 3325 44caeccd2db9
child 3327 44efba78afac
don't show label if no label given
view.py
--- a/view.py	Fri Sep 18 16:00:02 2009 +0200
+++ b/view.py	Fri Sep 18 19:47:07 2009 +0200
@@ -302,7 +302,7 @@
             w = self.w
         if row:
             w(u'<div class="row">')
-        if show_label:
+        if show_label and label:
             if tr:
                 label = display_name(self.req, label)
             w(u'<span class="label">%s</span>' % label)