summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorYounn Olivier <yol@odoo.com>2021-02-26 09:32:34 +0000
committerqsm-odoo <qsm@odoo.com>2021-04-06 09:53:01 +0000
commitf79553387ec7e769c703377c4be0026413468f46 (patch)
tree667fb65170b503848d74d2272800460639fbfb9d /addons/website/static/src/xml/website.editor.xml
parent843b1f6b7b0649a5784f32f74ae14c3dc27465f1 (diff)
[FIX] website: add loader when installing a new module from frontend
The eCommerce module installation is sometimes taking over 30 seconds, to manage the user wait a loader is now displayed during the process. Part of https://github.com/odoo/odoo/pull/65575 task-2446852
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 2132bfce727..3048271678b 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -143,4 +143,12 @@
<div class="mb-2" t-esc="contentText"/>
<div class="o_ace_editor_container"/>
</div>
+
+ <t t-name="website.new_content_loader">
+ <div class="o_new_content_loader_container position-fixed fixed-top fixed-left
+ h-100 w-100 d-flex flex-column align-items-center text-white font-weight-bold">
+ <p id="new_content_loader_text"/>
+ <div class="o_new_content_loader"/>
+ </div>
+ </t>
</templates>