diff options
| author | Frederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com> | 2014-09-25 12:03:52 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fvdessen@gmail.com> | 2014-11-25 17:28:09 +0100 |
| commit | 539dc53ebd9cc89b955fcbd482eb2b281a79d930 (patch) | |
| tree | a7a84bbe49924239002ee3a650584aaa6eee53d4 /addons/pos_restaurant/static/src/xml/floors.xml | |
| parent | fcde32d1802bc1458e0f7ee315caf3463e89f808 (diff) | |
[IMP] pos_restaurant: table label editing
Diffstat (limited to 'addons/pos_restaurant/static/src/xml/floors.xml')
| -rw-r--r-- | addons/pos_restaurant/static/src/xml/floors.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/pos_restaurant/static/src/xml/floors.xml b/addons/pos_restaurant/static/src/xml/floors.xml index 9407c00ede2..668aeaaf7c3 100644 --- a/addons/pos_restaurant/static/src/xml/floors.xml +++ b/addons/pos_restaurant/static/src/xml/floors.xml @@ -3,11 +3,17 @@ <t t-name="TableWidget"> <t t-if='!widget.selected'> - <div class='table' t-att-style='widget.table_style_str()'><t t-esc='widget.table.name' /></div> + <div class='table' t-att-style='widget.table_style_str()'> + <span class='label'> + <t t-esc='widget.table.name' /> + </span> + </div> </t> <t t-if='widget.selected'> <div class='table selected' t-att-style='widget.table_style_str()'> - <t t-esc='widget.table.name' /> + <span class='label'> + <t t-esc='widget.table.name' /> + </span> <span class='table-handle top'></span> <span class='table-handle bottom'></span> <span class='table-handle left'></span> @@ -42,7 +48,7 @@ <span class='edit-button dup-table needs-selection'> <i class='fa fa-copy'></i> </span> - <span class='edit-button text needs-selection'> + <span class='edit-button rename needs-selection'> <i class='fa fa-font'></i> </span> <span class='edit-button shape needs-selection'> |
