From f9f3e496d8f5e7b86804bd5eb307eef6f7d163f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 5 Feb 2014 17:34:00 +0100 Subject: [PATCH] add a class to icon cells --- src/collective/dms/basecontent/browser/column.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/collective/dms/basecontent/browser/column.py b/src/collective/dms/basecontent/browser/column.py index 6aa3819..eec53dc 100644 --- a/src/collective/dms/basecontent/browser/column.py +++ b/src/collective/dms/basecontent/browser/column.py @@ -105,6 +105,8 @@ class TitleColumn(LinkColumn): class IconColumn(object): + cssClasses = {'td': 'icon-column'} + def getLinkContent(self, item): content = super(IconColumn, self).getLinkContent(item) return u"""""" % (