[schema view] width isn't in authorized th attribute in xhtml DTD. katia, please do it another way.
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Jun 2010 17:48:36 +0200
changeset 5823 8a6c15e2e8b0
parent 5822 3d4e58a741a4
child 5840 60880c81e32e
[schema view] width isn't in authorized th attribute in xhtml DTD. katia, please do it another way.
web/views/schema.py
--- a/web/views/schema.py	Mon Jun 21 17:39:50 2010 +0200
+++ b/web/views/schema.py	Mon Jun 21 17:48:36 2010 +0200
@@ -88,7 +88,7 @@
         w = self.w
         _ = self._cw._
         w(u'<table class="listing schemaInfo">')
-        w(u'<tr><th width="15%%">%s</th><th width="25%%">%s</th><th>%s</th></tr>' % (
+        w(u'<tr><th>%s</th><th>%s</th><th>%s</th></tr>' % (
             _("permission"), _('granted to groups'), _('rql expressions')))
         for action in erschema.ACTIONS:
             w(u'<tr><td>%s</td><td>' % _(action))