# HG changeset patch # User Thierry Florac # Date 1516112725 -3600 # Node ID f4566bf0c91737c6a721528e0e22d7a009411fbb # Parent 3ae323f42a246fcc362ed416dae5dddd36b8b647 Disable wrap for dashboard columns diff -r 3ae323f42a24 -r f4566bf0c917 src/pyams_content/root/zmi/__init__.py --- a/src/pyams_content/root/zmi/__init__.py Tue Jan 16 15:24:57 2018 +0100 +++ b/src/pyams_content/root/zmi/__init__.py Tue Jan 16 15:25:25 2018 +0100 @@ -796,6 +796,7 @@ """Shared tool dashboard content type column""" _header = _("Content") + cssClasses = {'td': 'nowrap'} weight = 1 def getValue(self, obj): diff -r 3ae323f42a24 -r f4566bf0c917 src/pyams_content/shared/common/zmi/dashboard.py --- a/src/pyams_content/shared/common/zmi/dashboard.py Tue Jan 16 15:24:57 2018 +0100 +++ b/src/pyams_content/shared/common/zmi/dashboard.py Tue Jan 16 15:25:25 2018 +0100 @@ -152,6 +152,7 @@ """Shared tool dashboard status column""" _header = _("Status") + cssClasses = {'td': 'nowrap'} weight = 20 def getValue(self, obj): @@ -179,7 +180,7 @@ _header = _("Status date") cssClasses = {'th': 'col-xs-hide col-sm-hide', - 'td': 'col-xs-hide col-sm-hide'} + 'td': 'col-xs-hide col-sm-hide nowrap'} weight = 21 def getValue(self, obj): @@ -211,7 +212,7 @@ _header = _("Status principal") cssClasses = {'th': 'col-xs-hide', - 'td': 'col-xs-hide'} + 'td': 'col-xs-hide nowrap'} weight = 30 def getValue(self, obj): @@ -229,7 +230,7 @@ _header = _("Owner") cssClasses = {'th': 'col-xs-hide', - 'td': 'col-xs-hide'} + 'td': 'col-xs-hide nowrap'} weight = 35 def getValue(self, obj): @@ -247,6 +248,7 @@ """Shared tool dashboard modified column""" _header = _("Last modification") + cssClasses = {'td': 'nowrap'} weight = 40 def getValue(self, obj):