summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/kanban.xml
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2018-10-26 13:12:27 +0000
committerjem-odoo <jem@openerp.com>2019-01-16 08:28:09 +0000
commit92b6ea64ab0847e932fff9eb657ae2b72dd9cdbf (patch)
treee757b90bedeb36d288674203c007096398a08d33 /addons/web/static/src/xml/kanban.xml
parent4b4e8508ef9da82516a96f1dd4b4b0eb4b01afe1 (diff)
[IMP] web: make kanban example support state bullets
Diffstat (limited to 'addons/web/static/src/xml/kanban.xml')
-rw-r--r--addons/web/static/src/xml/kanban.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/kanban.xml b/addons/web/static/src/xml/kanban.xml
index 3acc0bceac5..8a37bef9277 100644
--- a/addons/web/static/src/xml/kanban.xml
+++ b/addons/web/static/src/xml/kanban.xml
@@ -158,6 +158,11 @@
<div class="o_kanban_examples_ghost">
<div class="o_ghost_content"/>
<div class="o_ghost_content o_ghost_tag"/>
+ <t t-if="example.bullets">
+ <t t-if="_.random(0,5) > 3">
+ <t t-raw="example.bullets[_.random(0, example.bullets.length-1)]"/>
+ </t>
+ </t>
<img class="float-right o_ghost_avatar" src="/base/static/img/avatar.png" alt="Avatar"/>
</div>
</t>