diff options
| author | Kevin Baptiste <kba@odoo.com> | 2019-08-12 07:18:23 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-11-28 10:05:12 +0000 |
| commit | ff1c35513aecef5fbc30f7c2f3834450e719714e (patch) | |
| tree | 8149f14df17095845e735d6cccaf9317a1f97af6 /addons/sms/static | |
| parent | 4c030311ada2ad19a2ee81b15544b7aed35b642b (diff) | |
[IMP] web: update to fontawesome 4.7.0 to 5.11.2
FontAwesome 5 introduced new names for some icons as described on
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes
This commit replaces the old names to the new ones.
closes odoo/odoo#35826
Taskid: 2050241
Related: odoo/enterprise#5180
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/sms/static')
| -rw-r--r-- | addons/sms/static/src/js/fields_phone_widget.js | 2 | ||||
| -rw-r--r-- | addons/sms/static/src/xml/thread.xml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/sms/static/src/js/fields_phone_widget.js b/addons/sms/static/src/js/fields_phone_widget.js index f269b26d0ed..2e3e2dbd949 100644 --- a/addons/sms/static/src/js/fields_phone_widget.js +++ b/addons/sms/static/src/js/fields_phone_widget.js @@ -61,7 +61,7 @@ Phone.include({ class: 'ml-3 d-inline-flex align-items-center o_field_phone_sms', html: $('<small>', {class: 'font-weight-bold ml-1', html: 'SMS'}), }); - $composerButton.prepend($('<i>', {class: 'fa fa-mobile'})); + $composerButton.prepend($('<i>', {class: 'fa fa-mobile-alt'})); $composerButton.on('click', this._onClickSMS.bind(this)); this.$el = $('<div/>').append(this.$el).append($composerButton); } diff --git a/addons/sms/static/src/xml/thread.xml b/addons/sms/static/src/xml/thread.xml index 6fb9530a8f4..5fef4479842 100644 --- a/addons/sms/static/src/xml/thread.xml +++ b/addons/sms/static/src/xml/thread.xml @@ -7,7 +7,7 @@ <t t-set="thread_icon_class" t-value="'o_thread_sms_tooltip o_thread_message_sms o_thread_message_sms_' + message.getSmsStatus()" /> <span t-attf-class="d-inline-flex align-items-center o_thread_sms_tooltip o_thread_message_sms o_thread_message_sms_#{message.getSmsStatus()} #{message.isError() ? 'o_thread_message_sms_error' : ''}" t-att-data-message-id="message.getID()"> - <i class="fa fa-mobile"/> + <i class="fas fa-mobile-alt"/> <small class="font-weight-bold ml-1">SMS</small> </span> </span> @@ -18,8 +18,8 @@ <div t-foreach="data" t-as="customerSMSData"> <span class="d-inline-block text-center o_thread_tooltip_icon"> <i t-if="customerSMSData[2] === 'sent'" class='fa fa-check' title="Sent" role="img" aria-label="Sent"/> - <i t-if="customerSMSData[2] === 'canceled'" class='fa fa-trash-o' title="Canceled" role="img" aria-label="Canceled"/> - <i t-if="customerSMSData[2] === 'outgoing'" class='fa fa-clock-o' title="Awaiting Dispatch" role="img" aria-label="Awaiting Dispatch"/> + <i t-if="customerSMSData[2] === 'canceled'" class='far fa-trash-alt' title="Canceled" role="img" aria-label="Canceled"/> + <i t-if="customerSMSData[2] === 'outgoing'" class='far fa-clock' title="Awaiting Dispatch" role="img" aria-label="Awaiting Dispatch"/> <i t-if="customerSMSData[2] === 'exception'" class='fa fa-exclamation text-danger' title="Error" role="img" aria-label="Error"/> </span> <span t-esc="customerSMSData[1]"/> |
