mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_widget_classes
This commit is contained in:
BIN
web_widget_classes/static/src/img/icon.png
Normal file
BIN
web_widget_classes/static/src/img/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
9
web_widget_classes/static/src/xml/web_widget_classes.xml
Normal file
9
web_widget_classes/static/src/xml/web_widget_classes.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template">
|
||||
<t t-extend="WidgetFrame">
|
||||
<t t-jquery="table">
|
||||
this.attr('t-att-class', '"' + this.attr('class') + ' oe_model_" + (widget.view.dataset.model.replace(new RegExp("\\\\.","g"), "_"))');
|
||||
this.attr('class', null);
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user