# HG changeset patch # User Thierry Florac # Date 1528896867 -7200 # Node ID bff947c6b22781112aa4764d54166aee5855d621 # Parent 1aa6dded00ac91d08f8b4d54aef1fab9ec168053 Added method and template to render an empty table diff -r 1aa6dded00ac -r bff947c6b227 src/pyams_skin/table.py --- a/src/pyams_skin/table.py Wed Jun 13 11:26:34 2018 +0200 +++ b/src/pyams_skin/table.py Wed Jun 13 15:34:27 2018 +0200 @@ -9,6 +9,7 @@ # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. # +from pyramid.renderers import render __docformat__ = 'restructuredtext' @@ -155,6 +156,13 @@ return super(BaseTable, self).renderTable() \ .replace(' +
+ + +

+ + + + +
+
+
+
ID
+
+