add user-info hint
This commit is contained in:
parent
e9b8977728
commit
3ffb0a38e8
|
@ -85,8 +85,14 @@ function admin_user()
|
||||||
. '</td></tr>' . "\n";
|
. '</td></tr>' . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// User info
|
||||||
if ($user_info_edit) {
|
if ($user_info_edit) {
|
||||||
$html .= ' <tr><td>' . __('user.info') . '</td><td>'
|
$html .= ' <tr><td>'
|
||||||
|
. __('user.info')
|
||||||
|
. ' <span class="bi bi-info-circle-fill text-info" data-bs-toggle="tooltip" title="'
|
||||||
|
. __('user.info.hint')
|
||||||
|
. '"></span>'
|
||||||
|
. '</td><td>'
|
||||||
. '<textarea cols="40" rows="" name="userInfo" class="form-control">'
|
. '<textarea cols="40" rows="" name="userInfo" class="form-control">'
|
||||||
. htmlspecialchars((string) $user_source->state->user_info)
|
. htmlspecialchars((string) $user_source->state->user_info)
|
||||||
. '</textarea>'
|
. '</textarea>'
|
||||||
|
@ -98,7 +104,7 @@ function admin_user()
|
||||||
'0' => __('No'),
|
'0' => __('No'),
|
||||||
];
|
];
|
||||||
|
|
||||||
// Gekommen?
|
// Arrived?
|
||||||
$html .= ' <tr><td>' . __('user.arrived') . '</td><td>' . "\n";
|
$html .= ' <tr><td>' . __('user.arrived') . '</td><td>' . "\n";
|
||||||
if ($user_source->state->arrived) {
|
if ($user_source->state->arrived) {
|
||||||
$html .= __('Yes');
|
$html .= __('Yes');
|
||||||
|
@ -107,11 +113,11 @@ function admin_user()
|
||||||
}
|
}
|
||||||
$html .= '</td></tr>' . "\n";
|
$html .= '</td></tr>' . "\n";
|
||||||
|
|
||||||
// Aktiv?
|
// Active?
|
||||||
$html .= ' <tr><td>' . __('user.active') . '</td><td>' . "\n";
|
$html .= ' <tr><td>' . __('user.active') . '</td><td>' . "\n";
|
||||||
$html .= html_options('eAktiv', $options, $user_source->state->active) . '</td></tr>' . "\n";
|
$html .= html_options('eAktiv', $options, $user_source->state->active) . '</td></tr>' . "\n";
|
||||||
|
|
||||||
// Aktiv erzwingen
|
// Forced active?
|
||||||
if (auth()->can('admin_active')) {
|
if (auth()->can('admin_active')) {
|
||||||
$html .= ' <tr><td>' . __('Force active') . '</td><td>' . "\n";
|
$html .= ' <tr><td>' . __('Force active') . '</td><td>' . "\n";
|
||||||
$html .= html_options('force_active', $options, $user_source->state->force_active) . '</td></tr>' . "\n";
|
$html .= html_options('force_active', $options, $user_source->state->force_active) . '</td></tr>' . "\n";
|
||||||
|
|
|
@ -1998,3 +1998,6 @@ msgstr "Ende"
|
||||||
|
|
||||||
msgid "user.info"
|
msgid "user.info"
|
||||||
msgstr "Benutzer Info"
|
msgstr "Benutzer Info"
|
||||||
|
|
||||||
|
msgid "user.info.hint"
|
||||||
|
msgstr "Wird auf der Benutzer Seite für Schichtkoordinatoren und Admins angezeigt."
|
||||||
|
|
|
@ -701,3 +701,6 @@ msgstr "End"
|
||||||
|
|
||||||
msgid "user.info"
|
msgid "user.info"
|
||||||
msgstr "User info"
|
msgstr "User info"
|
||||||
|
|
||||||
|
msgid "user.info.hint"
|
||||||
|
msgstr "Is displayed for shift coordinators and admins in the user view."
|
||||||
|
|
Loading…
Reference in New Issue