|
|
@ -676,7 +676,7 @@ function User_view(
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
]),
|
|
|
|
]),
|
|
|
|
div('row user-info', [
|
|
|
|
($its_me || $admin_user_privilege) ? div('row user-info', [
|
|
|
|
config('enable_dect') ? div('col-md-2', [
|
|
|
|
config('enable_dect') ? div('col-md-2', [
|
|
|
|
heading(icon('phone')
|
|
|
|
heading(icon('phone')
|
|
|
|
. '<a href="tel:' . $user_source->contact->dect . '">'
|
|
|
|
. '<a href="tel:' . $user_source->contact->dect . '">'
|
|
|
@ -684,10 +684,10 @@ function User_view(
|
|
|
|
. '</a>'
|
|
|
|
. '</a>'
|
|
|
|
]) : '',
|
|
|
|
]) : '',
|
|
|
|
User_view_state($admin_user_privilege, $freeloader, $user_source),
|
|
|
|
User_view_state($admin_user_privilege, $freeloader, $user_source),
|
|
|
|
User_angeltypes_render($user_angeltypes),
|
|
|
|
$admin_user_privilege ? User_angeltypes_render($user_angeltypes) : '',
|
|
|
|
User_groups_render($user_groups),
|
|
|
|
$admin_user_privilege ? User_groups_render($user_groups) : '',
|
|
|
|
$admin_user_privilege ? User_oauth_render($user_source) : '',
|
|
|
|
$admin_user_privilege ? User_oauth_render($user_source) : '',
|
|
|
|
]),
|
|
|
|
]) : '',
|
|
|
|
($its_me || $admin_user_privilege) ? '<h2>' . __('Shifts') . '</h2>' : '',
|
|
|
|
($its_me || $admin_user_privilege) ? '<h2>' . __('Shifts') . '</h2>' : '',
|
|
|
|
$myshifts_table,
|
|
|
|
$myshifts_table,
|
|
|
|
($its_me && $nightShiftsConfig['enabled']) ? info(
|
|
|
|
($its_me && $nightShiftsConfig['enabled']) ? info(
|
|
|
|