add a css class to title columns

This commit is contained in:
Frédéric Péters 2018-04-05 13:42:22 +02:00
parent a00ee2205c
commit 3dec048428
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class TitleColumn(LinkColumn):
grok.baseclass()
header = PMF("Title")
weight = 10
cssClasses = {'td': 'title-column'}
def getLinkContent(self, item):
title = get_value(item, 'Title')