summaryrefslogtreecommitdiff
path: root/addons/lunch/static/src/xml/lunch.xml
diff options
context:
space:
mode:
authorkujiu <kujiu@users.noreply.github.com>2018-07-04 09:55:52 +0200
committerGitHub <noreply@github.com>2018-07-04 09:55:52 +0200
commitf90cf060a3cfeb37a67bec83264c0aaab8892b56 (patch)
treefb92375b6d60293cdb49fe2e61fc20bddcd30940 /addons/lunch/static/src/xml/lunch.xml
parentad0f8fd0b7a468538dfb3bb8c08743913b886e78 (diff)
[FIX] Syntax of icons (#25577)
Description of the issue/feature this PR addresses: Accessibility improvements forbids the use of the syntax `<i class="fa fa-check"/> Some text` to create a labelled icon. But, by this, some fonts are changed. Desired behavior after PR is merged: The old syntax can be used.
Diffstat (limited to 'addons/lunch/static/src/xml/lunch.xml')
-rw-r--r--addons/lunch/static/src/xml/lunch.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/lunch/static/src/xml/lunch.xml b/addons/lunch/static/src/xml/lunch.xml
index 6b454f0b4ec..4efb8f9f5de 100644
--- a/addons/lunch/static/src/xml/lunch.xml
+++ b/addons/lunch/static/src/xml/lunch.xml
@@ -11,7 +11,8 @@
<h3><t t-esc="supplier"/></h3>
<div t-foreach='categories[supplier]' t-as='order' class="o_lunch_vignette">
<button type="button" class="pull-right o_add_button oe_edit_only oe_link" t-att-data-id="order.line_id">
- <span class="fa fa-plus-square">Add</span>
+ <span class="fa fa-plus-square"></span>
+ <span>Add</span>
</button>
<div>
<t t-esc="order.product_name"/>