Skip to content

Commit 3ce5102

Browse files
committed
[IMP] *: remove unsupported fa-solid utility class
*: event, event_sms, hr_skills This commit cleans the code by taking off a useless class in Font Awesome v4 such as `fa-solid`. task-4793826 closes odoo#210602 Related: odoo/enterprise#85890 Signed-off-by: Pierre Paridans (app) <[email protected]>
1 parent adcce03 commit 3ce5102

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

addons/event/static/src/client_action/event_registration_summary_dialog.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<div class="row">
88
<div class="col-lg-10 w-100 fs-2">
99
<div t-if="['confirmed_registration', 'unconfirmed_registration'].includes(registrationStatus.value)" class="alert alert-success d-flex justify-content-center" role="alert">
10-
<i class="fa fa-solid fa-check-circle align-self-center me-2 ms-0 ms-sm-5"/>
10+
<i class="fa fa-check-circle align-self-center me-2 ms-0 ms-sm-5"/>
1111
<span>Successfully registered!</span>
1212
<button type="button" class="btn btn-link ms-3 ms-sm-5" t-on-click="undoRegistration">
1313
Undo
1414
</button>
1515
</div>
1616
<div t-else="" class="alert alert-warning d-flex justify-content-center" role="alert">
17-
<i class="fa fa-solid fa-exclamation-circle me-2 align-self-center ms-0 ms-sm-5"/>
17+
<i class="fa fa-exclamation-circle me-2 align-self-center ms-0 ms-sm-5"/>
1818
<t t-if="registrationStatus.value === 'need_manual_confirmation'">
1919
<span>This ticket is for another event!<br/>
2020
Confirm attendance?</span>

addons/event/static/src/template_reference_field/field_event_mail_template_reference.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<xpath expr="//t[@t-if='!props.readonly and !hideModelSelector']" position="after">
66
<t t-elif="getValue()">
77
<div class="o_mail_template_reference_field_icon d-flex justify-content-center flex-grow-0 flex-shrink-0">
8-
<span class="event_template_reference_mail fa fa-solid fa-envelope" t-if="relation === 'mail.template'"/>
8+
<span class="event_template_reference_mail fa fa-envelope" t-if="relation === 'mail.template'"/>
99
</div>
1010
</t>
1111
</xpath>

addons/event_sms/static/src/template_reference_field/field_event_mail_template_reference.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<t t-inherit="event.mailTemplateReferenceField" t-inherit-mode="extension">
44
<xpath expr="//span[hasclass('event_template_reference_mail')]" position="after">
55
<div t-if="relation === 'sms.template'" class="event_template_reference_sms">
6-
<span class="fa fa-lg fa-solid fa-mobile" role="icon"/>
6+
<span class="fa fa-lg fa-mobile" role="icon"/>
77
<span role="text">SMS</span>
88
</div>
99
</xpath>

addons/hr_skills/views/hr_employee_cv_templates.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
<div class="o_sidebar_section" t-if="show_contact">
4444
<ul class="o_social">
4545
<li class="email" t-if="o.company_id.email">
46-
<i class="fa fa-solid fa-envelope pe-2"/>
46+
<i class="fa fa-envelope pe-2"/>
4747
<a t-attf-href="mailto: #{o.company_id.email}" t-field="o.company_id.email">[email protected]</a>
4848
</li>
4949
<li class="phone" t-if="o.company_id.phone">
50-
<i class="fa fa-solid fa-phone pe-2"/>
50+
<i class="fa fa-phone pe-2"/>
5151
<a t-attf-href="tel:#{o.company_id.phone}" t-field="o.company_id.phone">+1234567890</a>
5252
</li>
5353
<li class="website" t-if="o.company_id.website">
54-
<i class="fa fa-solid fa-globe pe-2"/>
54+
<i class="fa fa-globe pe-2"/>
5555
<a t-attf-href="tel:#{o.company_id.website}" t-field="o.company_id.website">www.demo.com</a>
5656
</li>
5757
</ul>
@@ -67,7 +67,7 @@
6767
<div class="o_main_panel_section">
6868
<h2 class="o_main_panel_title mt-4" t-attf-style="color: #{color_secondary};">
6969
<span class="o_main_panel_icon" t-attf-style="background: #{color_secondary};">
70-
<i class="fa fa-solid fa-briefcase"/>
70+
<i class="fa fa-briefcase"/>
7171
</span>
7272
<span t-out="line_type">Experience</span>
7373
</h2>
@@ -97,7 +97,7 @@
9797
<div class="o_main_panel_section" t-if="skill_type_language">
9898
<h2 class="o_main_panel_title" t-attf-style="color: #{color_secondary};">
9999
<span class="o_main_panel_icon" t-attf-style="background: #{color_secondary};">
100-
<i class="fa fa-solid fa-language"/>
100+
<i class="fa fa-language"/>
101101
</span>
102102
Languages
103103
</h2>
@@ -119,7 +119,7 @@
119119
<div class="o_main_panel_section">
120120
<h2 class="o_main_panel_title" t-attf-style="color: #{color_secondary};">
121121
<span class="o_main_panel_icon" t-attf-style="background: #{color_secondary};">
122-
<i class="fa fa-solid fa-rocket"/>
122+
<i class="fa fa-rocket"/>
123123
</span>
124124
Skills
125125
</h2>

0 commit comments

Comments
 (0)