fixed translation choice and color choice
This commit is contained in:
parent
4446b2311d
commit
c3356ab765
1 changed files with 2 additions and 7 deletions
|
@ -113,11 +113,6 @@
|
||||||
function statusLabelTypeFormatter (row, value) {
|
function statusLabelTypeFormatter (row, value) {
|
||||||
|
|
||||||
switch (value.type) {
|
switch (value.type) {
|
||||||
case 'deployed':
|
|
||||||
text_color = 'blue';
|
|
||||||
icon_style = 'fa-circle';
|
|
||||||
trans = '{{ strtolower(trans('general.deployed')) }}';
|
|
||||||
break;
|
|
||||||
case 'deployable':
|
case 'deployable':
|
||||||
text_color = 'green';
|
text_color = 'green';
|
||||||
icon_style = 'fa-circle';
|
icon_style = 'fa-circle';
|
||||||
|
@ -127,11 +122,11 @@
|
||||||
case 'pending':
|
case 'pending':
|
||||||
text_color = 'orange';
|
text_color = 'orange';
|
||||||
icon_style = 'fa-circle';
|
icon_style = 'fa-circle';
|
||||||
trans = '{{ strtolower(trans('general.deployed')) }}';
|
trans = '{{ strtolower(trans('general.pending')) }}';
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'undeployable':
|
case 'undeployable':
|
||||||
text_color = 'orange';
|
text_color = 'red';
|
||||||
icon_style = 'fa-circle';
|
icon_style = 'fa-circle';
|
||||||
trans ='{{ trans('admin/statuslabels/table.undeployable') }}';
|
trans ='{{ trans('admin/statuslabels/table.undeployable') }}';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue