[FIX] mail, im_livechat: fix channel member wrap

Both language and country are displayed in the channel member list. Before this
commit, this was displayed in one line when available which looked bad. This
commit allow those items to wrap for a better display.

closes odoo/odoo#130220

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
tsm-odoo
2023-08-01 22:30:51 +02:00
committed by Alexandre Kühn
parent f9aedceb9f
commit a6bc6d00da
@@ -4,7 +4,7 @@
<xpath expr="//*[@t-ref='displayName']" position="replace">
<div class="d-flex flex-column">
<t>$0</t>
<div t-if="member.thread.type === 'livechat'" class="ms-2 d-flex">
<div t-if="member.thread.type === 'livechat'" class="ms-2 d-flex flex-wrap">
<span t-if="member.getLangName()" class="me-2">
<i class="fa fa-comment-o me-1" aria-label="Lang"/>
<t t-esc="member.getLangName()"/>