Don't display column's name by default if not label is defined.

fixes #223
This commit is contained in:
Antoine Nguyen
2013-04-27 11:51:31 +02:00
parent 2663c119b3
commit fbae30fcab
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -18,9 +18,7 @@ class Qtable(tables.Table):
type = tables.Column(
"type", align="center", width="30px",
label="<input type='checkbox' name='toggleselect' id='toggleselect' />",
sortable=False
)
)
rstatus = tables.ImgColumn("rstatus", width='25px')
from_ = tables.Column("from", label=ugettext_lazy("From"), limit=30)
subject = tables.Column("subject", label=ugettext_lazy("Subject"), limit=40)