|
|
@ -677,7 +677,7 @@ function User_view(
|
|
|
|
])
|
|
|
|
])
|
|
|
|
]),
|
|
|
|
]),
|
|
|
|
($its_me || $admin_user_privilege) ? 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 mb-3', [
|
|
|
|
heading(icon('phone')
|
|
|
|
heading(icon('phone')
|
|
|
|
. '<a href="tel:' . $user_source->contact->dect . '">'
|
|
|
|
. '<a href="tel:' . $user_source->contact->dect . '">'
|
|
|
|
. $user_source->contact->dect, 1)
|
|
|
|
. $user_source->contact->dect, 1)
|
|
|
@ -725,7 +725,7 @@ function User_view_state($admin_user_privilege, $freeloader, $user_source)
|
|
|
|
$state = User_view_state_user($user_source);
|
|
|
|
$state = User_view_state_user($user_source);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return div('col-md-2', [
|
|
|
|
return div('col-md-2 mb-3', [
|
|
|
|
heading(__('User state'), 4),
|
|
|
|
heading(__('User state'), 4),
|
|
|
|
join('<br>', $state)
|
|
|
|
join('<br>', $state)
|
|
|
|
]);
|
|
|
|
]);
|
|
|
@ -830,7 +830,7 @@ function User_angeltypes_render($user_angeltypes)
|
|
|
|
. ($angeltype['supporter'] ? icon('patch-check') : '') . $angeltype['name']
|
|
|
|
. ($angeltype['supporter'] ? icon('patch-check') : '') . $angeltype['name']
|
|
|
|
. '</a>';
|
|
|
|
. '</a>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return div('col-md-2', [
|
|
|
|
return div('col-md-2 mb-3', [
|
|
|
|
heading(__('Angeltypes'), 4),
|
|
|
|
heading(__('Angeltypes'), 4),
|
|
|
|
join('<br>', $output)
|
|
|
|
join('<br>', $output)
|
|
|
|
]);
|
|
|
|
]);
|
|
|
@ -848,7 +848,7 @@ function User_groups_render($user_groups)
|
|
|
|
$output[] = __($groupName);
|
|
|
|
$output[] = __($groupName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return div('col-md-2', [
|
|
|
|
return div('col-md-2 mb-3', [
|
|
|
|
'<h4>' . __('Rights') . '</h4>',
|
|
|
|
'<h4>' . __('Rights') . '</h4>',
|
|
|
|
join('<br>', $output)
|
|
|
|
join('<br>', $output)
|
|
|
|
]);
|
|
|
|
]);
|
|
|
@ -875,7 +875,7 @@ function User_oauth_render(User $user)
|
|
|
|
return '';
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return div('col-md-2', [
|
|
|
|
return div('col-md-2 mb-3', [
|
|
|
|
heading(__('OAuth'), 4),
|
|
|
|
heading(__('OAuth'), 4),
|
|
|
|
join('<br>', $output),
|
|
|
|
join('<br>', $output),
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|