[FIX] portal: internal server error if name is boolean
This commit is contained in:
committed by
Nicolas Martinelli
parent
40a9eca39e
commit
483c9bb7eb
@@ -36,7 +36,7 @@
|
||||
<li class="dropdown" t-ignore="true" t-if="not user_id._is_public()">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<b>
|
||||
<span t-esc="(len(user_id.name)>25) and (user_id.name[:23]+'...') or user_id.name"/>
|
||||
<span t-esc="(len(user_id.name)>25) and (user_id.name[:23]+'...') if user_id.name else user_id.name"/>
|
||||
<span class="caret"></span>
|
||||
</b>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user