status->getValue()) { case 'active': $statusLabel = __('Active', 'give'); break; case 'inactive': $statusLabel = __('Inactive', 'give'); break; case 'archived': $statusLabel = __('Archived', 'give'); break; case 'draft': $statusLabel = __('Draft', 'give'); break; case 'pending': $statusLabel = __('Pending', 'give'); break; case 'processing': $statusLabel = __('Processing', 'give'); break; case 'failed': $statusLabel = __('Failed', 'give'); break; default: $statusLabel = __('Draft', 'give'); } return sprintf( '

%2$s

', $model->status->getValue(), $statusLabel ); } }