From 537181d4e3baad55db1fb83ea3c9e1ad9104e3fb Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Wed, 28 Jun 2017 15:14:05 +0200 Subject: [FIX] web: display indicator when many attendees in calendar event In saas-15, when an event had more than 3 attendees, it used to show a '+' at the left of the avatars. This behavior was lost in saas-16 where it became 'display 5 avatars max and that's it'. This commit brings back the behavior of saas-15 and improves it such that the '+' sign displays the number of additional attendees whose avatars are not shown and displays it on the right. Example for 7 attendees, '[]' representing an avatar: saas-15: +[][][] saas-16 before: [][][][][] saas-16 now: [][][]+4 --- addons/web/static/src/xml/web_calendar.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index e38d98e46de..430c2d3772c 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -20,7 +20,11 @@
- : + : +
+ + + +
-- cgit v1.2.3