diff --git a/assets/js/backend_calendar_appointments_modal.js b/assets/js/backend_calendar_appointments_modal.js
index ec265064..3662ce74 100755
--- a/assets/js/backend_calendar_appointments_modal.js
+++ b/assets/js/backend_calendar_appointments_modal.js
@@ -182,7 +182,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
var $list = $('#existing-customers-list');
if (!$list.is(':visible')) {
- $(this).text(EALang.hide);
+ $(this).find('span').text(EALang.hide);
$list.empty();
$list.slideDown('slow');
$('#filter-existing-customers').fadeIn('slow');
@@ -197,7 +197,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
} else {
$list.slideUp('slow');
$('#filter-existing-customers').fadeOut('slow');
- $(this).text(EALang.select);
+ $(this).find('span').text(EALang.select);
}
});
@@ -380,7 +380,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
// Close existing customers-filter frame.
$('#existing-customers-list').slideUp('slow');
$('#filter-existing-customers').fadeOut('slow');
- $('#select-customer').text(EALang.select);
+ $('#select-customer span').text(EALang.select);
// Setup start and datetimepickers.
// Get the selected service duration. It will be needed in order to calculate the appointment end datetime.
diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js
index 258ceb9f..6bd4abb4 100755
--- a/assets/js/backend_calendar_default_view.js
+++ b/assets/js/backend_calendar_default_view.js
@@ -350,15 +350,36 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'html': [
$('
', {
'class': 'edit-popover btn btn-primary ' + displayEdit,
- 'text': EALang.edit
+ 'html': [
+ $('
', {
+ 'class': 'far fa-edit mr-2'
+ }),
+ $('
', {
+ 'text': EALang.edit
+ })
+ ]
}),
$('
', {
'class': 'delete-popover btn btn-danger ' + displayDelete,
- 'text': EALang.delete
+ 'html': [
+ $('
', {
+ 'class': 'far fa-trash-alt mr-2'
+ }),
+ $('
', {
+ 'text': EALang.delete
+ })
+ ]
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})
@@ -418,7 +439,14 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})
@@ -526,15 +554,36 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'html': [
$('
', {
'class': 'edit-popover btn btn-primary ' + displayEdit,
- 'text': EALang.edit
+ 'html': [
+ $('
', {
+ 'class': 'far fa-edit mr-2'
+ }),
+ $('
', {
+ 'text': EALang.edit
+ })
+ ]
}),
$('
', {
'class': 'delete-popover btn btn-danger ' + displayDelete,
- 'text': EALang.delete
+ 'html': [
+ $('
', {
+ 'class': 'far fa-trash-alt mr-2'
+ }),
+ $('
', {
+ 'text': EALang.delete
+ })
+ ]
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})
diff --git a/assets/js/backend_calendar_table_view.js b/assets/js/backend_calendar_table_view.js
index 5f3b0869..bb274b9a 100755
--- a/assets/js/backend_calendar_table_view.js
+++ b/assets/js/backend_calendar_table_view.js
@@ -1071,15 +1071,36 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
'html': [
$('
', {
'class': 'edit-popover btn btn-primary ' + displayEdit,
- 'text': EALang.edit
+ 'html': [
+ $('
', {
+ 'class': 'far fa-edit mr-2'
+ }),
+ $('
', {
+ 'text': EALang.edit
+ })
+ ]
}),
$('
', {
'class': 'delete-popover btn btn-danger ' + displayDelete,
- 'text': EALang.delete
+ 'html': [
+ $('
', {
+ 'class': 'far fa-trash-alt mr-2'
+ }),
+ $('
', {
+ 'text': EALang.delete
+ })
+ ]
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})
@@ -1137,13 +1158,38 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
$('
', {
'class': 'd-flex justify-content-center',
'html': [
+ $('
', {
+ 'class': 'edit-popover btn btn-danger ' + displayEdit,
+ 'html': [
+ $('
', {
+ 'class': 'far fa-edit mr-2'
+ }),
+ $('
', {
+ 'text': EALang.edit
+ })
+ ]
+ }),
$('
', {
'class': 'delete-popover btn btn-danger ' + displayDelete,
- 'text': EALang.delete
+ 'html': [
+ $('
', {
+ 'class': 'far fa-trash-alt mr-2'
+ }),
+ $('
', {
+ 'text': EALang.delete
+ })
+ ]
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})
@@ -1240,15 +1286,36 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
'html': [
$('
', {
'class': 'edit-popover btn btn-primary ' + displayEdit,
- 'text': EALang.edit
+ 'html': [
+ $('
', {
+ 'class': 'far fa-edit mr-2'
+ }),
+ $('
', {
+ 'text': EALang.edit
+ })
+ ]
}),
$('
', {
'class': 'delete-popover btn btn-danger ' + displayDelete,
- 'text': EALang.delete
+ 'html': [
+ $('
', {
+ 'class': 'far fa-trash-alt mr-2'
+ }),
+ $('
', {
+ 'text': EALang.delete
+ })
+ ]
}),
$('
', {
'class': 'close-popover btn btn-light',
- 'text': EALang.close
+ 'html': [
+ $('
', {
+ 'class': 'fas fa-ban mr-2'
+ }),
+ $('
', {
+ 'text': EALang.close
+ })
+ ]
})
]
})