summaryrefslogtreecommitdiff
path: root/addons/base_dashboard/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-07-29 16:42:27 +0200
committerXavier Morel <xmo@openerp.com>2011-07-29 16:42:27 +0200
commit3b00af2cde922dfbfb4f123f5af0a0b65dd72d9b (patch)
tree9ab5efb4c03eae75948ba3cd4ca7f0d81bc73bce /addons/base_dashboard/static/src/xml
parent483689d7690d870579554a02b7cc3ae1c65123ec (diff)
[IMP] handling of config items: display all manual, cross those marked as done
bzr revid: xmo@openerp.com-20110729144227-l5nz6jqdxfy7jsic
Diffstat (limited to 'addons/base_dashboard/static/src/xml')
-rw-r--r--addons/base_dashboard/static/src/xml/base_dashboard.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/base_dashboard/static/src/xml/base_dashboard.xml b/addons/base_dashboard/static/src/xml/base_dashboard.xml
index c8aa567f5fb..ad432348c38 100644
--- a/addons/base_dashboard/static/src/xml/base_dashboard.xml
+++ b/addons/base_dashboard/static/src/xml/base_dashboard.xml
@@ -78,10 +78,11 @@
<li t-foreach="category_value" t-as="todo"
t-att-class="todo.done ? 'oe-done' : undefined"
t-att-data-id="todo.id"
- t-att-title="'Execute action \'' + todo.name + '\''">
+ t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined">
+ <input type="checkbox" t-att-value="todo.id"
+ t-att-title="!todo.done ? 'Mark this task as done' : undefined"
+ t-att-checked="todo.done ? 'checked' : undefined"/>
<t t-esc="todo.name"/>
- <span class="ui-icon ui-icon-closethick"
- title="Cancel task, remove it from list"/>
</li>
</ul></dd>
</t>