mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
Quarantine plugin update:
All functions are back. Big refactoring of this module, the last thing that remains is the need of DB optimization for big tables.
This commit is contained in:
@@ -60,6 +60,10 @@ class Table(object):
|
||||
newcol["width"] = getattr(c, "width")
|
||||
except AttributeError:
|
||||
pass
|
||||
try:
|
||||
newcol["align"] = getattr(c, "align")
|
||||
except:
|
||||
pass
|
||||
if isinstance(c, SelectionColumn):
|
||||
newcol["value"] = c.render(row[self.idkey])
|
||||
newcol["safe"] = True
|
||||
|
||||
Reference in New Issue
Block a user