diff --git a/admin/tables.py b/admin/tables.py index c5c715632..0e8d48000 100644 --- a/admin/tables.py +++ b/admin/tables.py @@ -45,7 +45,7 @@ class DomainsTable(tables.Table): class ExtensionsTable(tables.Table): idkey = "id" - selection = tables.SelectionColumn("selection", width="4%", first=True) + selection = tables.SelectionColumn("selection", width="4%", header=False) name = tables.Column("name", label=ugettext_noop("Name"), width="15%") version = tables.Column("version", label=ugettext_noop("Version"), width="6%") descr = tables.Column("description", label=ugettext_noop("Description")) diff --git a/lib/tables.py b/lib/tables.py index cca913077..c7425df9d 100644 --- a/lib/tables.py +++ b/lib/tables.py @@ -40,7 +40,9 @@ class SelectionColumn(Column): usefull to select rows for grouped actions (modify, delete, etc.) """ def __str__(self): - return "" + if self.header: + return "" + return "" def render(self, value, selection): return "" \