flectra/addons/web_planner/views/web_planner_templates.xml
2018-01-16 02:34:37 -08:00

33 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<template id="assets_backend" name="planner assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_planner/static/src/js/web_planner_backend.js"></script>
</xpath>
</template>
<template id="assets_common" name="planner common assets" inherit_id="web.assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_planner/static/src/less/web_planner_common.less"/>
<script type="text/javascript" src="/web_planner/static/src/js/web_planner_common.js"></script>
</xpath>
</template>
<template id="pages">
<t t-raw="0"/>
</template>
<template id="category">
<div t-att-menu-category-id="menu_categorytitle" t-att-menu-classes="menu_categoryclasses">
<t t-raw="0"/>
</div>
</template>
<template id="page">
<div t-att-id="page_id" t-att-title="page_title" t-att-hide-from-menu="hide_from_menu" t-att-hide-mark-as-done="hide_mark_as_done" class="o_planner_page container-fluid">
<h1 t-esc="page_title" t-att-data-menutitle="page_menutitle or page_title" t-att-class="'hidden' if hide_title else None"/>
<t t-raw="0"/>
</div>
</template>
</flectra>