diff options
| author | Dharmang Soni <dpr@openerp.com> | 2017-04-25 14:16:35 +0530 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-09-25 14:10:40 +0200 |
| commit | a12cfa8260a8a25930de2b842838588a27cdb734 (patch) | |
| tree | 397d0582ad24e76f1ea67014d88c62a20f20f1d7 /addons/web/static/src/xml | |
| parent | 39e83e84c7622d4d33e746798a45065494563143 (diff) | |
[IMP] web: grouped Kanban: UX improvements in mobile
This commit aims to improve the UX of grouped Kanban views on
mobile devices. Only one column is now displayed, full width. The
columns' records are lazy-loaded. The user can swipe horizontally
to navigate through columns (thanks to the touchSwipe library).
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/kanban.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/kanban.xml b/addons/web/static/src/xml/kanban.xml index 5e5123c2bdc..ed4c9fc3772 100644 --- a/addons/web/static/src/xml/kanban.xml +++ b/addons/web/static/src/xml/kanban.xml @@ -8,6 +8,16 @@ </div> </t> +<t t-name="KanbanView.MobileTabs"> + <div class="o_kanban_mobile_tabs"> + <t t-foreach="data" t-as="group"> + <div class="o_kanban_mobile_tab" t-att-data-id="group.res_id"> + <span class="o_column_title"><t t-esc="group.value"/></span> + </div> + </t> + </div> +</t> + <t t-name="KanbanView.Group"> <div class="o_kanban_group" t-att-data-id="widget.id"> <div class="o_kanban_header"> |
