User page: Fixed arrival text
This commit is contained in:
parent
4c1f080402
commit
6c3d51272c
|
@ -759,10 +759,10 @@ function User_view_state_admin($freeloader, $user_source)
|
|||
} else {
|
||||
$arrivalDate = $user_source->personalData->planned_arrival_date;
|
||||
$state[] = '<span class="text-danger">'
|
||||
. sprintf(
|
||||
. ($arrivalDate ? sprintf(
|
||||
__('Not arrived (Planned: %s)'),
|
||||
$arrivalDate ? $arrivalDate->format('Y-m-d') : ''
|
||||
)
|
||||
$arrivalDate->format('Y-m-d')
|
||||
) : __('Not arrived'))
|
||||
. '</span>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue