mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
fixed translation choice and color choice
This commit is contained in:
parent
4446b2311d
commit
c3356ab765
|
@ -113,11 +113,6 @@
|
|||
function statusLabelTypeFormatter (row, value) {
|
||||
|
||||
switch (value.type) {
|
||||
case 'deployed':
|
||||
text_color = 'blue';
|
||||
icon_style = 'fa-circle';
|
||||
trans = '{{ strtolower(trans('general.deployed')) }}';
|
||||
break;
|
||||
case 'deployable':
|
||||
text_color = 'green';
|
||||
icon_style = 'fa-circle';
|
||||
|
@ -127,11 +122,11 @@
|
|||
case 'pending':
|
||||
text_color = 'orange';
|
||||
icon_style = 'fa-circle';
|
||||
trans = '{{ strtolower(trans('general.deployed')) }}';
|
||||
trans = '{{ strtolower(trans('general.pending')) }}';
|
||||
|
||||
break;
|
||||
case 'undeployable':
|
||||
text_color = 'orange';
|
||||
text_color = 'red';
|
||||
icon_style = 'fa-circle';
|
||||
trans ='{{ trans('admin/statuslabels/table.undeployable') }}';
|
||||
|
||||
|
|
Loading…
Reference in a new issue