Fix formatting

This commit is contained in:
Igor Scheller 2024-02-17 17:20:43 +01:00
parent 4fa5db8a42
commit aef53a306b
3 changed files with 4 additions and 4 deletions

View File

@ -266,7 +266,7 @@ class ShiftCalendarShiftRenderer
'confirm_submit_title' => __('Do you want to delete the shift "%s" from %s to %s?', [ 'confirm_submit_title' => __('Do you want to delete the shift "%s" from %s to %s?', [
$shift->shiftType->name, $shift->shiftType->name,
$shift->start->format(__('general.datetime')), $shift->start->format(__('general.datetime')),
$shift->end->format(__('H:i')) $shift->end->format(__('H:i')),
]), ]),
'confirm_button_text' => icon('trash') . __('form.delete'), 'confirm_button_text' => icon('trash') . __('form.delete'),
] ]

View File

@ -220,7 +220,7 @@ function Shift_view(
'confirm_submit_title' => __('Do you want to delete the shift "%s" from %s to %s?', [ 'confirm_submit_title' => __('Do you want to delete the shift "%s" from %s to %s?', [
$shift->shiftType->name, $shift->shiftType->name,
$shift->start->format(__('general.datetime')), $shift->start->format(__('general.datetime')),
$shift->end->format(__('H:i')) $shift->end->format(__('H:i')),
]), ]),
'confirm_button_text' => icon('trash') . __('form.delete'), 'confirm_button_text' => icon('trash') . __('form.delete'),
] ]