From e7ff2d2c6a564823dd05e2d53cb32c47b826caed Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 13 May 2015 14:20:18 +0200 Subject: [IMP] Web: ListView: semantics classes for row decoration based on bootstrap contextual colors, and bold/italic fonts. Backward compatibility is ensured as the ListView is monkey-patched to keep interpreting colors and fonts attributes. --- addons/web/static/src/xml/base.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index c5913ce43ed..e0044346686 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -729,7 +729,8 @@ + t-attf-style="#{(view.fonts || view.colors) ? view.style_for(record) : ''}" + t-attf-class="#{view.compute_decoration_classnames(record)}"> -- cgit v1.2.3