diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-06-15 16:31:27 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-06-15 16:31:27 +0200 |
| commit | 2c7367a8cc8d9e200b1fa2083ce0d80f8f4e4bd3 (patch) | |
| tree | af916cff4d94554b1e9667913e3feb331ec81a13 /addons/project/project_dashboard.xml | |
| parent | 5cb10d4fc9594f0c6825757c24d66d63664ce026 (diff) | |
| parent | 82186a93bb3f93c36667835df68fa31dcacf97a2 (diff) | |
[MERGE] new kanban view
This branch introduces the new kanban view. It is not completely
compatible with the previous version. Here are a few importants
points to be aware of:
* the kanban view template is rendered directly, not put inside a div.
It means that if a template has more than one root, chaos will ensue
* kanban view has been split into several files, and various js modules
have changed. For example, the KanbanRecord class is now exported by
the 'web_kanban.Record' module. So, require statements need to be
updated
* records do not have access to the view (i.e., record.view.is_action_enabled('edit'))
You can use the 'editable' and 'deletable' key instead
Diffstat (limited to 'addons/project/project_dashboard.xml')
| -rw-r--r-- | addons/project/project_dashboard.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/addons/project/project_dashboard.xml b/addons/project/project_dashboard.xml index 1e5ccbd13bc..9d23ad05f40 100644 --- a/addons/project/project_dashboard.xml +++ b/addons/project/project_dashboard.xml @@ -27,7 +27,7 @@ <span><t t-esc="record.name.value"/></span> </div> <div t-if="record.alias_id.raw_value"> - <span><i class="fa fa-envelope-o"></i> <t t-esc="record.alias_id.value"/></span> + <span><i class="fa fa-envelope"></i> <t t-esc="record.alias_id.value"/></span> </div> </div> </div><div class="o_kanban_card_manage_pane o_invisible"> @@ -41,16 +41,14 @@ <div> <a name="%(action_view_task_history_cumulative_filter)d" type="action">Cumulative Flow</a> </div> - </div> - <div t-if="widget.view.is_action_enabled('edit')" class="o_project_kanban_colorpicker"> - <div class="col-xs-12"> - <li><ul class="oe_kanban_colorpicker" data-field="color"/></li> + <div t-if="widget.editable" class="o_project_kanban_colorpicker"> + <ul class="oe_kanban_colorpicker" data-field="color"/> </div> </div> </div> <div class="o_project_kanban_manage"> <div class="text-left"> - <a class="o_kanban_manage_toggle_button">More <i class="fa fa-caret-down"/></a> + <a class="o_kanban_manage_toggle_button" href="#">More <i class="fa fa-caret-down"/></a> </div> </div> </div> |
