mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 16:14:18 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
ec2ce1dff8
|
@ -403,6 +403,8 @@ return [
|
||||||
'toggle_navigation' => 'Toggle navigation',
|
'toggle_navigation' => 'Toggle navigation',
|
||||||
'alerts' => 'Alerts',
|
'alerts' => 'Alerts',
|
||||||
'tasks_view_all' => 'View all tasks',
|
'tasks_view_all' => 'View all tasks',
|
||||||
|
'true' => 'True',
|
||||||
|
'false' => 'False',
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -570,9 +570,9 @@
|
||||||
|
|
||||||
function trueFalseFormatter(value) {
|
function trueFalseFormatter(value) {
|
||||||
if ((value) && ((value == 'true') || (value == '1'))) {
|
if ((value) && ((value == 'true') || (value == '1'))) {
|
||||||
return '<i class="fas fa-check text-success"></i>';
|
return '<i class="fas fa-check text-success"></i><span class="sr-only">{{ trans('general.true') }}</span>';
|
||||||
} else {
|
} else {
|
||||||
return '<i class="fas fa-times text-danger"></i>';
|
return '<i class="fas fa-times text-danger"></i><span class="sr-only">{{ trans('general.false') }}</span>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue