diff options
| author | sri-odoo <sri@odoo.com> | 2019-09-22 08:21:33 +0000 |
|---|---|---|
| committer | sri-odoo <sri@odoo.com> | 2019-09-22 08:21:33 +0000 |
| commit | 59498db811bff022020f69ee3cf712d65b1b84d8 (patch) | |
| tree | 0ba701d5037b40406dfea7c6dde4c43e6f0adffe /addons/sms/static/src/js/fields_phone_widget.js | |
| parent | 070456169bbd089e4189513dca2436f29102d5da (diff) | |
[REF] sms: redesign composer button
Diffstat (limited to 'addons/sms/static/src/js/fields_phone_widget.js')
| -rw-r--r-- | addons/sms/static/src/js/fields_phone_widget.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/sms/static/src/js/fields_phone_widget.js b/addons/sms/static/src/js/fields_phone_widget.js index ecbe784d22d..f269b26d0ed 100644 --- a/addons/sms/static/src/js/fields_phone_widget.js +++ b/addons/sms/static/src/js/fields_phone_widget.js @@ -58,8 +58,10 @@ Phone.include({ var $composerButton = $('<a>', { title: _t('Send SMS Text Message'), href: '', - class: 'btn-sm btn-link mb4 fa fa-comment o_field_phone_sms', + 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.on('click', this._onClickSMS.bind(this)); this.$el = $('<div/>').append(this.$el).append($composerButton); } |
