From ebe86f5ca560163338347f20750e2089d3c36f2c Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Tue, 9 Feb 2021 14:31:51 +0100 Subject: [PATCH] [REF] web,*: Flatten _assets_helpers Before this commit, the asset bundle "_assets_helpers" was the only bundle using a "t-raw" directive to insert assets in between other asset calls. Now _assets_helpers only contains the assets called before the t-raw directive, and the second part (1 file actually) has been added after every call of the bundle. This has been done to improve consistency in asset bundles declarations by reducing them to the simplest possible templates. Part of task: 2352566 Co-authored-by: Julien Mougenot Co-authored-by: Simon Genin --- .../views/im_livechat_channel_templates.xml | 1 + addons/mass_mailing/views/assets.xml | 1 + addons/snailmail/views/report_assets.xml | 1 + addons/survey/views/assets.xml | 6 +++--- addons/web/views/report_templates.xml | 6 +++--- addons/web/views/webclient_templates.xml | 17 +++++++---------- addons/web_editor/views/editor.xml | 6 +++--- addons/website/views/assets.xml | 7 ++++--- addons/website_slides/views/assets.xml | 1 + 9 files changed, 24 insertions(+), 22 deletions(-) diff --git a/addons/im_livechat/views/im_livechat_channel_templates.xml b/addons/im_livechat/views/im_livechat_channel_templates.xml index da4a0a628dd..35f81330259 100644 --- a/addons/im_livechat/views/im_livechat_channel_templates.xml +++ b/addons/im_livechat/views/im_livechat_channel_templates.xml @@ -186,6 +186,7 @@ + diff --git a/addons/mass_mailing/views/assets.xml b/addons/mass_mailing/views/assets.xml index 0813648b6cd..96dc4fcc101 100644 --- a/addons/mass_mailing/views/assets.xml +++ b/addons/mass_mailing/views/assets.xml @@ -22,6 +22,7 @@ diff --git a/addons/snailmail/views/report_assets.xml b/addons/snailmail/views/report_assets.xml index 20c2d2c1369..f5715abd2bf 100644 --- a/addons/snailmail/views/report_assets.xml +++ b/addons/snailmail/views/report_assets.xml @@ -2,6 +2,7 @@