diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-01-18 14:06:52 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-01-18 14:06:52 +0100 |
| commit | 4e14e6145d7130c84d76039198306ba5fcd1daed (patch) | |
| tree | 518a6e542449ee7f1ecd407db7d1ea7800fa971b /addons/web_gantt/static/src/xml | |
| parent | 110e8262527d47786bef571ecd65e99bab6c3057 (diff) | |
[imp] setup new gantt view
bzr revid: nicolas.vanhoren@openerp.com-20120118130652-08nnz3rx1gtk2f3v
Diffstat (limited to 'addons/web_gantt/static/src/xml')
| -rw-r--r-- | addons/web_gantt/static/src/xml/web_gantt.xml | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/addons/web_gantt/static/src/xml/web_gantt.xml b/addons/web_gantt/static/src/xml/web_gantt.xml index 302ac2cfef9..2376c6243d8 100644 --- a/addons/web_gantt/static/src/xml/web_gantt.xml +++ b/addons/web_gantt/static/src/xml/web_gantt.xml @@ -1,6 +1,14 @@ -<template> -<t t-name="GanttView"> - <button class="oe_button" id="add_task">Create</button> - <div t-att-style="'width:'+ width + 'px; height:' + height + 'px; padding-top:6px;position:relative;'" id="GanttView"/> -</t> -</template> +<?xml version="1.0" encoding="UTF-8"?> + +<templates> + <t t-name="GanttView"> + <div> + <button class="oe_button oe-gantt-view-create">Create</button> + <div class="oe-gantt-view-view"/> + </div> + </t> + <t t-name="GanttViewOld"> + <button class="oe_button" id="add_task">Create</button> + <div t-att-style="'width:'+ width + 'px; height:' + height + 'px; padding-top:6px;position:relative;'" id="GanttView"/> + </t> +</templates> |
