diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index 0388281e..b9158c9f 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -291,10 +291,10 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; if ($(this).hasClass('fc-unavailable') || $parent.hasClass('fc-unavailable') || $altParent.hasClass('fc-unavailable')) { displayEdit = (($parent.hasClass('fc-custom') || $altParent.hasClass('fc-custom')) && GlobalVariables.user.privileges.appointments.edit === true) - ? '' : 'hide'; + ? 'mr-2' : 'd-none'; displayDelete = (($parent.hasClass('fc-custom') || $altParent.hasClass('fc-custom')) && GlobalVariables.user.privileges.appointments.delete === true) - ? '' : 'hide'; // Same value at the time. + ? 'mr-2' : 'd-none'; // Same value at the time. var notes = ''; if (event.data) { // Only custom unavailable periods have notes. @@ -327,7 +327,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $('
'), $('
', { - 'class': 'd-flex justify-content-between', + 'class': 'd-flex justify-content-center', 'html': [ $('