diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2020-02-20 16:12:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-20 16:12:24 +0100 |
| commit | 85f6290b68fdb01ed42b69e191b8aeb3689397b8 (patch) | |
| tree | 44397fb30c9349c935018faffd2a549014d0017c /addons/web/static | |
| parent | bdef3505bd7ab27ace8599f5beecaa2dcd189241 (diff) | |
| parent | f9d34ec7114b42978dbccb7341d263e3d97e4907 (diff) | |
[IMP] survey, website_livechat: remove header, footer and livechat button from survey layout
Purpose
=======
Lighten the survey layout. It should be free of website footer and header.
Also, 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.
Instead of inheriting another layout, this PR sets no_footer and no_header to True
for all survey layout. The idea is to show only the survey itself without having
other web/website object in the layout.
Also, 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
closes odoo/odoo#45112
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
