summaryrefslogtreecommitdiff
path: root/addons/web/static/src
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/web/static/src
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/web/static/src')
-rw-r--r--addons/web/static/src/xml/base.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 018dff37915..a4714e81ee5 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -144,7 +144,7 @@
<div t-name="CrashManager.error" class="o_dialog_error">
<div class="alert alert-warning clearfix" role="alert">
<button class="btn btn-sm btn-primary pull-right ml8 o_clipboard_button">
- <span class="fa fa-clipboard mr8">Copy the full error to clipboard</span>
+ <i class="fa fa-clipboard mr8"/>Copy the full error to clipboard
</button>
<p><b>An error occurred</b></p>
<p>Please use the copy button to report the error to your support service.</p>
@@ -630,7 +630,7 @@
<div aria-atomic="true" t-name="DomainSelector" t-attf-class="o_domain_node o_domain_tree o_domain_selector #{widget.readonly ? 'o_read_mode' : 'o_edit_mode'}">
<t t-if="widget.children.length === 0">
<span>Match <strong>all records</strong></span>
- <button t-if="!widget.readonly" class="btn btn-xs btn-primary o_domain_add_first_node_button"><span class="fa fa-plus"> Add filter</span></button>
+ <button t-if="!widget.readonly" class="btn btn-xs btn-primary o_domain_add_first_node_button"><i class="fa fa-plus"/> Add filter</button>
</t>
<t t-else="">
<div class="o_domain_tree_header">
@@ -1458,12 +1458,12 @@
<div class="col-xs-6">
Get this feature and much more with Odoo Enterprise!
<ul class="list-unstyled">
- <li><span class="fa fa-check"> Access to all Enterprise Apps</span></li>
- <li><span class="fa fa-check"> New design</span></li>
- <li><span class="fa fa-check"> Mobile support</span></li>
- <li><span class="fa fa-check"> Upgrade to future versions</span></li>
- <li><span class="fa fa-check"> Bugfixes guarantee</span></li>
- <li><a href="http://www.odoo.com/editions" target="_blank"><span class="fa fa-plus"> And more</span></a></li>
+ <li><i class="fa fa-check"></i> Access to all Enterprise Apps</li>
+ <li><i class="fa fa-check"></i> New design</li>
+ <li><i class="fa fa-check"></i> Mobile support</li>
+ <li><i class="fa fa-check"></i> Upgrade to future versions</li>
+ <li><i class="fa fa-check"></i> Bugfixes guarantee</li>
+ <li><a href="http://www.odoo.com/editions" target="_blank"><i class="fa fa-plus"></i> And more</a></li>
</ul>
</div>
<div class="col-xs-6">