summaryrefslogtreecommitdiff
path: root/addons/web/static/tests
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2020-02-11 15:32:53 +0000
committerDavid Beguin <dbe@odoo.com>2020-02-13 15:29:00 +0000
commitf9d34ec7114b42978dbccb7341d263e3d97e4907 (patch)
tree44397fb30c9349c935018faffd2a549014d0017c /addons/web/static/tests
parent732cb7c254508a25e78c0f544e4057d4c059c3d5 (diff)
[IMP] survey, website_livechat: hide livechat in survey layout
Purpose ======= Lighten the survey layout. Livechat button should not appear on survey pages. Specifications ============== Survey Layout inherits from web.frontend_layout, mainly to be able to use all the styles rules defined in it and keep consistency between other frontend pages and survey. To avoid having the livechat button displayed on survey layout, 'no_livechat' template variable has been introduced. The livechat button will be displayed on all layout inheriting from frontend_layout (that is extended in website_livechat to add that livechat button) only if 'no_livechat' is False. By default, this variable is not set so will be considered as False. In survey layout, no_livechat is set to True. Links ===== Task ID: 2195185 PR #45112
Diffstat (limited to 'addons/web/static/tests')
0 files changed, 0 insertions, 0 deletions