From 27311c2b3dd7e09af042cabaf4409f20ab861da8 Mon Sep 17 00:00:00 2001 From: qsm-odoo <qsm@odoo.com> Date: Fri, 29 Dec 2017 14:16:13 +0100 Subject: [PATCH] [REF] portal, website: portal LESS files cleaning - website.ui.less was moved to portal for no reason - rename portal_frontend.less to portal.less --- .../static/src/less/{portal_frontend.less => portal.less} | 0 addons/portal/views/assets.xml | 3 +-- addons/{portal => website}/static/src/less/website.ui.less | 0 addons/website/views/website_templates.xml | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) rename addons/portal/static/src/less/{portal_frontend.less => portal.less} (100%) rename addons/{portal => website}/static/src/less/website.ui.less (100%) diff --git a/addons/portal/static/src/less/portal_frontend.less b/addons/portal/static/src/less/portal.less similarity index 100% rename from addons/portal/static/src/less/portal_frontend.less rename to addons/portal/static/src/less/portal.less diff --git a/addons/portal/views/assets.xml b/addons/portal/views/assets.xml index 8c182e2f7c2c..22fe9d4a32d3 100644 --- a/addons/portal/views/assets.xml +++ b/addons/portal/views/assets.xml @@ -2,10 +2,9 @@ <odoo> <template id="assets_frontend" inherit_id="web.assets_frontend" name="Portal Assets"> <xpath expr="//link[last()]" position="after"> - <link rel="stylesheet" type="text/less" href="/portal/static/src/less/website.ui.less"/> <link rel="stylesheet" type="text/less" href="/portal/static/src/less/website.wrapwrap.less"/> <link rel="stylesheet" type="text/less" href="/portal/static/src/less/bootstrap.extend.less"/> - <link rel="stylesheet" type="text/less" href="/portal/static/src/less/portal_frontend.less"/> + <link rel="stylesheet" type="text/less" href="/portal/static/src/less/portal.less"/> </xpath> <xpath expr="//script[last()]" position="after"> <script type="text/javascript" src="/portal/static/src/js/portal.js"></script> diff --git a/addons/portal/static/src/less/website.ui.less b/addons/website/static/src/less/website.ui.less similarity index 100% rename from addons/portal/static/src/less/website.ui.less rename to addons/website/static/src/less/website.ui.less diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 7b8c9a2850c5..b205864b8ffc 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -20,6 +20,7 @@ <template id="assets_frontend" inherit_id="web.assets_frontend" name="Website Assets"> <xpath expr="//link[last()]" position="after"> + <link rel="stylesheet" type="text/less" href="/website/static/src/less/website.ui.less"/> <link rel="stylesheet" type="text/less" href="/website/static/src/less/website.ui.components.less"/> <link rel="stylesheet" type="text/less" href="/website/static/src/less/website.snippets.less"/> <link rel="stylesheet" type="text/less" href="/website/static/src/less/website.zoomodoo.less"/> -- GitLab