dquote> - updated registartion page, added gdpr and marketing checkboxes;
dquote> - fixed number input; dquote> - updated latest submissions table component;
This commit is contained in:
@@ -2,6 +2,9 @@ import { __ } from '@wordpress/i18n';
|
||||
|
||||
const getBandoLabel = (status) => {
|
||||
switch (status) {
|
||||
case 'SUBMIT':
|
||||
return __('Inviato', 'gepafin');
|
||||
|
||||
case 'PUBLISH':
|
||||
return __('Pubblicato', 'gepafin');
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
import { __ } from '@wordpress/i18n';
|
||||
|
||||
const getBandoSeverity = (status) => {
|
||||
switch (status) {
|
||||
case 'SUBMIT':
|
||||
return 'success';
|
||||
|
||||
case 'PUBLISH':
|
||||
return 'success';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user