- saving progress;

This commit is contained in:
Vitalii Kiiko
2024-10-30 11:38:18 +01:00
parent 8bd557cb6f
commit 579cb2da3b
9 changed files with 358 additions and 52 deletions

View File

@@ -17,6 +17,9 @@ const getBandoLabel = (status) => {
case 'READY':
return __('Pronto', 'gepafin');
case 'SOCCORSO':
return __('Soccorso', 'gepafin');
case 'DRAFT':
return __('Bozza', 'gepafin');
@@ -38,6 +41,9 @@ const getBandoLabel = (status) => {
case 'EXPIRED':
return __('Scaduto', 'gepafin');
case 'CLOSE':
return __('Chiuso', 'gepafin');
default:
return '';
}

View File

@@ -15,6 +15,9 @@ const getBandoSeverity = (status) => {
case 'READY':
return 'info';
case 'SOCCORSO':
return 'warning';
case 'DRAFT':
return 'warning';
@@ -36,6 +39,9 @@ const getBandoSeverity = (status) => {
case 'EXPIRED':
return 'closed';
case 'CLOSE':
return 'closed';
default:
return 'info';
}