[IMP] web, web_editor, website: add meaningful bundle names
As the user will be able to customize the bundles thanks to the LESS editor, this commit give them meaningful names.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<link rel="stylesheet" type="text/less" href="/web/static/src/less/utils.less"/>
|
||||
</template>
|
||||
|
||||
<template id="web.assets_common">
|
||||
<template id="web.assets_common" name="Common Assets (used in backend interface and website)">
|
||||
<t t-call="web.less_helpers"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/web/static/lib/jquery.ui/jquery-ui.css"/>
|
||||
@@ -79,7 +79,7 @@
|
||||
<script type="text/javascript" src="/web/static/src/js/framework/local_storage.js"></script>
|
||||
</template>
|
||||
|
||||
<template id="web.assets_backend">
|
||||
<template id="web.assets_backend" name="Backend Assets (used in backend interface)">
|
||||
<t t-call="web.less_helpers"/>
|
||||
|
||||
<link rel="stylesheet" type="text/less" href="/web/static/src/less/import_bootstrap.less"/>
|
||||
@@ -187,7 +187,7 @@
|
||||
<script type="text/javascript" src="/web/static/src/js/apps.js"></script>
|
||||
</template>
|
||||
|
||||
<template id="web.assets_frontend">
|
||||
<template id="web.assets_frontend" name="Website Assets">
|
||||
<t t-call="web.less_helpers"/>
|
||||
|
||||
<link rel="stylesheet" type="text/less" href="/web/static/src/less/import_bootstrap.less"/>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_common" inherit_id="web.assets_common" name="web_editor base assets_common">
|
||||
<template id="assets_common" inherit_id="web.assets_common" name="Web Editor Common Assets (used in backend interface and website)">
|
||||
<xpath expr="script[last()]" position="after">
|
||||
<script type="text/javascript" src="/web_editor/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js"></script>
|
||||
<script type="text/javascript" src="/web_editor/static/src/js/ace.js" />
|
||||
@@ -67,7 +67,7 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_backend" inherit_id="web.assets_backend" name="web_editor assets for backend">
|
||||
<template id="assets_backend" inherit_id="web.assets_backend" name="Web Editor Backend Assets (used in backend interface)">
|
||||
<xpath expr="link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/less" href="/web_editor/static/src/less/web_editor.common.less"/> <!-- not in common because compiled differently with context -->
|
||||
<link rel="stylesheet" type="text/less" href="/web_editor/static/src/less/web_editor.backend.less"/>
|
||||
@@ -77,13 +77,13 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_frontend" inherit_id="web.assets_frontend" priority="15">
|
||||
<template id="assets_frontend" inherit_id="web.assets_frontend" name="Web Editor Frontend Assets (used in public odoo)" priority="15">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/less" href="/web_editor/static/src/less/web_editor.common.less"/> <!-- not in common because compiled differently with context -->
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_editor" name="Full web_editor assets">
|
||||
<template id="assets_editor" name="Web Editor Assets (used in private and public editor)">
|
||||
<t t-call="web.less_helpers"/>
|
||||
|
||||
<link rel="stylesheet" type="text/less" href="/web_editor/static/src/less/web_editor.ui.less"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Assets -->
|
||||
<template id="assets_backend" inherit_id="web.assets_backend" name="Website Backend Assets">
|
||||
<template id="assets_backend" inherit_id="web.assets_backend" name="Website Backend Assets (used in backend interface)">
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/website/static/src/js/website.backend.js"></script>
|
||||
<script type="text/javascript" src="/website/static/src/js/website.tour.rte.js"></script>
|
||||
@@ -10,7 +10,7 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="assets_frontend" inherit_id="web.assets_frontend" name="Website Frontend Assets">
|
||||
<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"/>
|
||||
@@ -27,7 +27,7 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="website.assets_editor" name="Website Editor Assets">
|
||||
<template id="website.assets_editor" name="Website Editor Assets (used in website editor)">
|
||||
<t t-call="web.less_helpers"/>
|
||||
|
||||
<link rel="stylesheet" type="text/less" href="/website/static/src/less/website.edit_mode.less"/>
|
||||
|
||||
Reference in New Issue
Block a user