- added page managebandi;

- improved styles of the pages and sections;
This commit is contained in:
Vitalii Kiiko
2024-08-14 08:28:54 +02:00
parent c09127a675
commit 76b5dd2ece
28 changed files with 945 additions and 56 deletions

View File

@@ -0,0 +1,19 @@
import { __ } from '@wordpress/i18n';
const getBandoLabel = (status) => {
switch (status) {
case 'publish':
return __('Pubblicato', 'gepafin');
case 'draft':
return __('Bozza', 'gepafin');
case 'closed':
return __('Chiuso', 'gepafin');
default:
return '';
}
};
export default getBandoLabel;