[IMP] mail: guard WelcomeViewComponent

Task-2797754

closes odoo/odoo#86953

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 20:18:45 +01:00
parent d722bfe267
commit 8e833f0cd2
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.WelcomeView" owl="1">
<div class="o_WelcomeView h-100 d-flex flex-column justify-content-center align-items-center bg-light" t-attf-class="{{ className }}" t-ref="root">
<t t-if="welcomeView">
<t t-if="welcomeView">
<div class="o_WelcomeView h-100 d-flex flex-column justify-content-center align-items-center bg-light" t-attf-class="{{ className }}" t-ref="root">
<h1 class="font-weight-light">
<span t-if="welcomeView.mediaPreview">You've been invited to a meeting!</span>
<span t-if="!welcomeView.mediaPreview">You've been invited to a chat!</span>
@@ -22,8 +22,8 @@
<button class="o_WelcomeView_joinButton btn btn-success btn-lg align-self-end p-0 rounded-circle shadow fa fa-phone" title="Join Channel" t-att-disabled="welcomeView.isJoinButtonDisabled" t-on-click="welcomeView.onClickJoinButton"/>
</div>
</div>
</t>
</div>
</div>
</t>
</t>
</templates>