diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-03-29 17:25:18 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 920df597d3d7174723736a395e94dc8ff413c70b (patch) | |
| tree | ba6a333c245f097d9d64d0d2dc0b8babfa63c64d /addons/web/static/src/xml | |
| parent | c5cf445462f43222a1982b613bd532018d6cad8e (diff) | |
[REF] barcode, *: update code to new JS framework
With the new views, the barcode mechanisms were completely broken,
because the view and widget JS code was totally changed.
This commit update and refactor all that code to make it work with the
new design philosophy. Also, it update the coding style.
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index e6e8c9a4d17..e22eebc89ce 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -4,13 +4,13 @@ <div t-name="EmptyComponent"/> <div t-name="Loading" class="o_loading"/> <t t-name="Notification"> - <div class="o_notification" t-translation="off"> + <div t-attf-class="o_notification #{className}" t-translation="off"> <a t-if="widget.sticky" class="fa fa-times o_close" href="#"/> <div class="o_notification_title"> <span class="o_icon fa fa-3x fa-lightbulb-o"/> <t t-raw="widget.title"/> </div> - <div class="o_notification_content"><t t-raw="widget.text"/></div> + <div class="o_notification_content" t-if="widget.text"><t t-raw="widget.text"/></div> </div> </t> <t t-name="Warning" t-extend="Notification"> |
